Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12584 closed defect (invalid)

binutils fails to install when non-Apple gcc used: "cc: unrecognized option '-no-cpp-precomp'"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: pguyot (Paul Guyot), ryandesign (Ryan Carsten Schmidt)
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 (3)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Version: 1.5.0

comment:2 Changed 17 years ago by pguyot (Paul Guyot)

Resolution: invalid
Status: newclosed

Installing MacPorts binutils with a non-Apple compiler does not make sense. The port specifically targets Apple's gcc and Apple's ABI. Consequently, I think this bug is invalid and OP should install binutils from source.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.