[MacPorts] #16594: sdcc 2.8.0 does not compile on 10.5
MacPorts
noreply at macports.org
Fri Sep 19 07:30:24 PDT 2008
#16594: sdcc 2.8.0 does not compile on 10.5
------------------------------+---------------------------------------------
Reporter: mlk at alum.mit.edu | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: High | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: sdcc | Port: sdcc
------------------------------+---------------------------------------------
The default C preprocessor ('/usr/bin/cpp-4.0') is not parsing files
correctly; the error (as reported by "port install sdcc") is:
{{{
/usr/bin/cpp-4.0 -I/opt/local/include -I./.. -I.. -I. -I../..
-I./../../support/Util -I. -MM gen.c main.c peep.c ralloc.c rtrack.c
>Makefile.dep
cpp-4.0: too many input files
gnumake[2]: *** No rule to make target `Makefile.dep', needed by `dep'.
Stop.
gnumake[1]: *** [mcs51/port.a] Error 2
gnumake: *** [sdcc-cc] Error 2
}}}
Changing the SDCC Portfile with the addition of:
{{{
configure.cpp /usr/bin/gcc-4.0 -E
}}}
allows SDCC 2.8.0 to be installed correctly on OSX 10.5 (at least for me).
I have also heard of this issue from others. - MLD
--
Ticket URL: <http://trac.macports.org/ticket/16594>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list