This is the mail archive of the gcc-help@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: Segmentation fault using shared object on AIX 5.1


Eljay Love-Jensen <eljay@adobe.com> writes:

> Hi Stuart,
> 
> Wouldn't you want to generate the files like...
> gcc -fPIC -g -pthread -D_LARGE_FILES -c source.c
> ...or...
> gcc -fpic -g -pthread -D_LARGE_FILES -c source.c

According to this...

http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01200.html

All RS/6000 and powerpc code is position independent so -fPIC and
-fpic are ignored (used to warn)
-- 
Stuart Downing


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