linux-gcc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* using one library within another
@ 2005-05-17 19:58 Manaswini Sawant
  0 siblings, 0 replies; only message in thread
From: Manaswini Sawant @ 2005-05-17 19:58 UTC (permalink / raw)
  To: linux-c-programming, linux-gcc

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-17 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-17 19:58 using one library within another Manaswini Sawant

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).