This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fPIC on HP-UX 11.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]