* Building libraries with -fPIC doubt
@ 2002-09-25 9:46 Ivens Porto
0 siblings, 0 replies; only message in thread
From: Ivens Porto @ 2002-09-25 9:46 UTC (permalink / raw)
To: gcc-help
Hello,
I need to generate both a static (.a) and a shared (.so) version of a
library.
To build the shared library version, I'm using the -fPIC option to
generate the object files that will make the shared library.
My doubt is if there's any problem to use the same object files,
generated with -fPIC, to generate the static library (.a)? This is, can
I use object files generated with -fPIC (or -fpic) to build both static
(.a) and shared (.so) libraries?
Thanks,
--
_/_/_/ _/_/_/ _/_/_/
Ivens Porto _/ _/ _/ _/
OSE - Open Systems Engineering _/ _/ _/ _/
http://www.ose.com.br _/ _/ _/_/_/ _/_/_/_/
Phone: (55) 34 - 3214-5995 _/ _/ _/ _/
Fax: (55) 34 - 3214-5994 _/ _/ _/ _/
_/_/_/ _/_/_/ _/_/_/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-25 16:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25 9:46 Building libraries with -fPIC doubt Ivens Porto
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).