This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: fPIC on HP-UX 11.0
- From: law at redhat dot com
- To: "pwatson at creighton dot edu" <pwatson at creighton dot edu>
- Cc: "Gcc (E-mail)" <gcc at gcc dot gnu dot org>
- Date: Tue, 12 Mar 2002 11:06:17 -0700
- Subject: Re: fPIC on HP-UX 11.0
- Reply-to: law at redhat dot com
In message <01C1C9BB.6EA292A0.pwatson@creighton.edu>, Pat Watson writes:
> Hi,
>
> I am trying to compile some c code using gcc. I am having problems creating
> a shared library. I found information regarding this problem in the FAQ's.
> I have
> added the fPIC option as suggested, but am still receiving the 'DP relative
> code in file' error.
Make sure of use -fPIC when you link your library in addition to when you
compile its component objects.
jeff