On Sun, 2002-06-16 at 02:00, Jason E. Stewart wrote: > "Michel Dänzer" <[EMAIL PROTECTED]> writes: > > > > I thought the order of -L flags was 'last seen, first used'? What > > > would make the linker not use that order? > > > > The directories are searched in the order in which they > > are specified on the command line. > > > > So it seems -L/usr/lib is not only redundant but harmful here. > > Hey Michel, > > So am I delusional, and -L never worked in 'last seen, first used' > order? I thought the whole point was to be able to do things like: > > -L/priv/lib1 -llib1 -L/priv/lib2 -lib2 -L/priv/lib2 -lib3 ... > > and ensure you were getting the correct libraries?
Please RTFM. :) One of the next sentences I omitted is: 'All -L options apply to all -l options, regardless of the order in which the options appear.' > I'm downloading code off standard repositories that is suddenly not > linking because of this - did it change recently?? No idea, I wouldn't expect it it did though. -- Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]