This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/49371] xgcc: error: unrecognized option '-pie' on *-apple-darwin*
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 12 Jun 2011 19:55:22 +0000
- Subject: [Bug driver/49371] xgcc: error: unrecognized option '-pie' on *-apple-darwin*
- Auto-submitted: auto-generated
- References: <bug-49371-4@http.gcc.gnu.org/bugzilla/>
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