RE: [Dev-C++] Linker :: Under the hood.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Siva C. <siv...@ya...> - 2004-05-28 08:37:21
|
Hello all, That was insightfull but also lead to another question. How do inline functions get linked? Siva Chandra --- Damien A <g_...@ho...> 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 __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ |