From: Manaswini Sawant <manaswini@gmail.com>
To: linux-c-programming@vger.kernel.org, linux-gcc@vger.kernel.org
Subject: using one library within another
Date: Tue, 17 May 2005 12:58:15 -0700 [thread overview]
Message-ID: <428A4CD7.9080101@gmail.com> (raw)
I have libP.so (source and all) and libQ.so (no such luck).
libP redefines some standard libc functionality.
I need to link libQ.so and the object files for libP.so to form one
common libPQ.so.
Now I would like libP object files to use stuff found within libQ.so
but would like libQ.so to use the standard libc functions instead of
using the redefined libP ones.
When I mash them together into libPQ.so, libP calls the libQ functions
as required but libQ calls the libP versions instead of the standard
libc ones.
Is this possible? Are there some ld flags that can do this?
Thanks in advance,
~Manaswini.
reply other threads:[~2005-05-17 19:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=428A4CD7.9080101@gmail.com \
--to=manaswini@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
--cc=linux-gcc@vger.kernel.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 NNTP newsgroup(s).