On Thu, Jun 12, 2003 at 11:10:44AM +0200, Stefano Zacchiroli wrote: > > gcc -o theprogram theprogram.o -L/sw/lib -lfoo /sw/lib/libfoo.a > I'm wondering if this work, I suppose that you should put the "libfoo.a"
No, it wont. Neither exchanging order does. The only way to avoid dynamic linking is pass to the linker only the .a argument and _avoid_ passing the "-lfoo" switch. Thanks to all, I solved my problem. Cheers. -- Stefano Zacchiroli -- Master in Computer Science @ Uni. Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} - http://www.bononia.it/zack/ " I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant! " -- G.Romney ------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
