public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Transitive Linking fails
@ 2010-03-15 17:28 Erik Rull
  2010-03-15 19:17 ` John (Eljay) Love-Jensen
  2010-03-16 15:57 ` Ian Lance Taylor
  0 siblings, 2 replies; 5+ messages in thread
From: Erik Rull @ 2010-03-15 17:28 UTC (permalink / raw)
  To: gcc-help

Hi all,

I want to do the following:
dir1/*.o dir2/libx.so -> dir3/liby.so where dir2/libx.so is statically 
linked (using -static in the linker command).
It seems to work until the liby.so is linked against other code:
dir4/*.o dir3/liby.so -> dir5/app
There, the linker complains that it doesn't know anything about 
dir2/libx.so, but I want this lib to be statically linked into the liby.so 
so that no application needs to care about where the object code from 
libx.so comes from.

What is my fault here? Any ideas?

Best regards,

Erik

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-18 11:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-15 17:28 Transitive Linking fails Erik Rull
2010-03-15 19:17 ` John (Eljay) Love-Jensen
2010-03-18  0:50   ` Erik Rull
2010-03-18 12:45     ` John (Eljay) Love-Jensen
2010-03-16 15:57 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).