From: Erik Rull <erik.rull@rdsoftware.de>
To: gcc-help@gcc.gnu.org
Subject: Transitive Linking fails
Date: Mon, 15 Mar 2010 17:28:00 -0000 [thread overview]
Message-ID: <4B9E6B2A.2080901@rdsoftware.de> (raw)
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
next reply other threads:[~2010-03-15 17:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 17:28 Erik Rull [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B9E6B2A.2080901@rdsoftware.de \
--to=erik.rull@rdsoftware.de \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).