This is the mail archive of the gcc-bugs@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]

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


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


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