[Bug driver/49371] xgcc: error: unrecognized option '-pie' on *-apple-darwin*
joseph at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Sun Jun 12 12:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49371
--- Comment #12 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-06-12 12:48:53 UTC ---
The reason for the error is that no spec matches the option. For most
targets, the option is matched in LINK_PIE_SPEC (only), which is part of
LINK_COMMAND_SPEC; Darwin uses its own LINK_COMMAND_SPEC (as does DJGPP).
I would advise making Darwin behave similarly to other targets by
including an appropriate spec for this option in Darwin's
LINK_COMMAND_SPEC.
More information about the Gcc-bugs
mailing list