[Bug driver/49371] xgcc: error: unrecognized option '-pie' on *-apple-darwin*

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sun Jun 12 19:55:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49371

--- Comment #19 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-12 19:54:40 UTC ---
> what happens for 
> gcc47 -m32 -fno-PIC -fpie backtrace.c
> ?

[macbook] f90/bug% gcc47 -m32 -fno-PIC -fpie backtrace.c
[macbook] f90/bug% otool -hv a.out
a.out:
Mach header
      magic cputype cpusubtype  caps    filetype ncmds sizeofcmds      flags
   MH_MAGIC    I386        ALL  0x00     EXECUTE    12       1236   NOUNDEFS
DYLDLINK TWOLEVEL PIE



More information about the Gcc-bugs mailing list