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: Eljay Love-Jensen <eljay at adobe dot com>
- To: sdowning at fame dot com (Stuart F. Downing), gcc-help at gcc dot gnu dot org
- Date: Wed, 14 May 2003 14:29:46 -0500
- Subject: Re: Segmentation fault using shared object on AIX 5.1
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
The -fPIC is large-code-model position independent code.
The -fpic is small-code-model position independent code.
Sincerely,
--Eljay