Re: Transitive Linking fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Erik,

I think you need to do it this way:

dir1/*.o dir2/libx.a -> dir3/liby.so

The point to -static is to prefer libx.a rather than libx.so when you ask
for -lx.

By specifying dir2/libx.so, you are bypassing the -static facility because
you are using an explicitly named library.

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux