#16594 closed defect (fixed)
sdcc 2.8.0 does not compile on 10.5
Reported by: | michaelld (Michael Dickens) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | sdcc | Cc: | michaelld (Michael Dickens) |
Port: | sdcc |
Description
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
Attachments (1)
Change History (3)
Changed 16 years ago by michaelld (Michael Dickens)
Attachment: | sdcc_280_Portfile.patch added |
---|
comment:1 Changed 16 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed in 40070
Note: See
TracTickets for help on using
tickets.
SDCC 2.8.0 Portfile patch to correct build errors