Segmentation fault using shared object on AIX 5.1

Stuart F. Downing sdowning@fame.com
Wed May 14 19:41:00 GMT 2003


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



More information about the Gcc-help mailing list