This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Segmentation fault using shared object on AIX 5.1
- From: sdowning at fame dot com (Stuart F. Downing)
- To: Eljay Love-Jensen <eljay at adobe dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 14 May 2003 15:40:35 -0400
- Subject: Re: Segmentation fault using shared object on AIX 5.1
- References: <4.3.2.7.2.20030514142815.00b60850@iplan-mn.corp.adobe.com>
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