Ticket #12584 (closed defect: invalid)
binutils fails to install when non-Apple gcc used: "cc: unrecognized option '-no-cpp-precomp'"
| Reported by: | ryandesign@… | Owned by: | pguyot@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | Port Bugs |
| Component: | ports | Version: | |
| Keywords: | Cc: | pguyot@…, ryandesign@… | |
| Port: |
Description
We have a report on the mailing list that binutils fails to install with the message "cc: unrecognized option '-no-cpp-precomp'". Anders says this option is not needed on gcc-3.3+ (Panther+) but should not cause any harm with later versions of Apple GCC. The OP then responded that FSF GCC 4.2.1 was being used instead. So it seems that we should patch the portfile so that -no-cpp-precomp is only used on Jaguar. I assume this line of the portfile is the culprit:
configure.env CC="cc -no-cpp-precomp"
So we should put that in a "platform darwin 6" section?
Change History
Note: See
TracTickets for help on using
tickets.

