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: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 11 Jun 2011 19:56:43 +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 #8 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-06-11 19:56:41 UTC ---
(In reply to comment #7)
This patch bootstraps fine on x86_64-apple-darwin11 and passes -pie as
expected...
[MacPro:~] howarth% gcc-fsf-4.7 -fpie -v himenoBMTxpa.c
...
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.7.0 -pie
-weak_reference_mismatches non-weak -o a.out -lcrt1.10.5.o
-L/sw/lib/gcc4.7/lib/gcc/x86_64-apple-darwin11.0.0/4.7.0
-L/sw/lib/gcc4.7/lib/gcc/x86_64-apple-darwin11.0.0/4.7.0/../../..
/var/folders/1l/n78sywl52lz6kkys6nv7mnph0000gp/T//ccwqghgh.o -no_compact_unwind
-lSystem -lgcc_ext.10.5 -lgcc -lSystem -v