fPIC on HP-UX 11.0
law@redhat.com
law@redhat.com
Tue Mar 12 10:03:00 GMT 2002
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
More information about the Gcc
mailing list