Transitive Linking fails

Ian Lance Taylor iant@google.com
Tue Mar 16 15:57:00 GMT 2010


Erik Rull <erik.rull@rdsoftware.de> writes:

> dir1/*.o dir2/libx.so -> dir3/liby.so where dir2/libx.so is statically
> linked (using -static in the linker command).

You can't statically link a shared object.

Ian



More information about the Gcc-help mailing list