David Buchan wrote: > Hi Nicola, > > I did find this on the GNU gcc page: "-l libraryIt makes a difference > where in the command you write this option; the linker searches and > processes libraries and object files in the order they are specified. > Thus, `foo.o -lz bar.o' searches library `z' after file foo.obut > before bar.o. If bar.orefers to functions in `z', those functions > may not be loaded." > > http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html > > Seems to confirm it. Interesting. I guess the previous gcc was a bit > more forgiving for my sloppy ways. Yes, that should be true. For ELF objects as used in Linux and more current versions of HP-UX though it doesn't matter where on the command line the shared libraries fall. However, for Windows pe-coff it does matter and the linker would complain about the missing symbols in bar.o. Earnie _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list