[MacPorts] #31603: apple-gcc42 fails to install: i686-apple-darwin11-gcc: command not found
MacPorts
noreply at macports.org
Sat Mar 24 16:05:10 PDT 2012
#31603: apple-gcc42 fails to install: i686-apple-darwin11-gcc: command not found
----------------------------------+-----------------------------------------
Reporter: jsduncan2@… | Owner: jeremyhu@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: | Keywords:
Port: apple-gcc42 |
----------------------------------+-----------------------------------------
Comment(by jeremyhu@…):
Ah, the problem is in gcc's configure... we're thinking that we're cross
compiling even though we're not "really" cross compiling. The config.log
shows us picking "pre-installed":
{{{
if test "x${build}" != "x${host}" ; then
if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
# We already found the complete path
echo "$ac_t""pre-installed in `dirname $GCC_FOR_TARGET`" 1>&6
else
# Canadian cross, just use what we found
echo "$ac_t""pre-installed" 1>&6
fi
else
...
if test $ok = yes; then
# An in-tree tool is available and we can use it
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
echo "$ac_t""just compiled" 1>&6
...
}}}
--
Ticket URL: <https://trac.macports.org/ticket/31603#comment:11>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list