RE: [Dev-C++] Linker :: Under the hood.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <wa...@wa...> - 2004-05-27 16:58:19
|
On 27 May 2004 at 12:00, Damien A wrote: > > "ld (and therefore gcc) is sensitive about the order in which > libraries and object > files are specied on the command line. If libfoo.so depends on > libbar.so, you > must specify libfoo.so first (as counterintuitive as this may be). The > reason is that ld keeps track only of unresolved symbols as it links. > If libfoo.so and libbar.so depend on each other, one of the libraries > will have to be specified twice (for example, -lfoo -lbar -lfoo)." > -Programming Linux Games , pg 33 Wow. Interesting. Thanks! Watson |