Re: Odd linking on aix 5.3
- From: "Gary R. Hook" <ghook@xxxxxxxxxxxxxxx>
- Date: Mon, 26 Nov 2007 16:21:47 GMT
porter2 wrote:
My guess it's because of the position of foo.o.
Normally linkers pull bits out of libraries only if required, so as no
object files have been mentioned when the boost_filesystem library was
mentioned, the linker has decided that it can't be needed. The order is
significant in a link line, with left hand elements used first. With
statically linked libraries you can fail if you end up with circular
dependencies.
Not on AIX, it doesn't. All symbols are seen in the order they're
encountered on the command line, archives included. This is a behavior
that is distinctly different from other Unix systems.
--
-------------------------------------
http://www.photo.net/photos/garyrhook
Vocatus atque non vocatus deus aderit
.
- References:
- Odd linking on aix 5.3
- From: Florian Apolloner
- Re: Odd linking on aix 5.3
- From: porter2
- Odd linking on aix 5.3
- Prev by Date: Re: Compiled program won't run on another AIX box
- Next by Date: Re: exporting DISPLAY question/problem
- Previous by thread: Re: Odd linking on aix 5.3
- Next by thread: Flood of "FCS_ERR2" during failover of EMC MPIO disks
- Index(es):
Relevant Pages
|