[MacPorts] #28912: i386-elf-gcc fails to compile with XCode 4 installed
MacPorts
noreply at macports.org
Tue Sep 27 01:25:41 PDT 2011
#28912: i386-elf-gcc fails to compile with XCode 4 installed
---------------------------------+------------------------------------------
Reporter: egavrilov@… | Owner: stepan@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: XCode4 | Port: i386-elf-gcc
---------------------------------+------------------------------------------
Comment(by konya.vic@…):
Just successfully compiled and installed i386-elf-gcc.
port version: 2.0.3
My workaround:
1. use port select to change gcc to gcc42 (i686-apple-darwin11-gcc-4.2.1)
2. fix the following line in Portfile:
configure.cc "gcc -no-cpp-precomp -I${prefix}/include"
It was using cc as the compiler,
but cc in mac is a symlink to llvm-gcc, so it will not reflect the version
of gcc.
(probably affected by xcode4?)
--
Ticket URL: <https://trac.macports.org/ticket/28912#comment:16>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list