#16 won't compile on Mac OS X 10.2

closed
None
5
2003-05-08
2003-01-20
Anonymous
No

I did /usr/bin/autoconf, then ./configure, then:
[gouda:~/Desktop/sdcc] swalker% make
for lib in support/cpp2 support/makebin; do make -C $lib; done
make[1]: *** No targets. Stop.
gcc -g -O2 -pipe -Wall -I. -I../.. -I../../support/Util -c -o makebin.o makebin.c
makebin.c: In function `main':
makebin.c:75: warning: implicit declaration of function `memset'
gcc -o ../../bin/makebin makebin.o
make -C src
for i in mcs51 z80 avr ds390 pic izt xa51; do make -C $i; done
../port.mk:44: Makefile.dep: No such file or directory
awk -f ../SDCCpeeph.awk peeph.def > peeph.rul
gcc -E -I.. -I. -I../.. -I../../support/Util -M gen.c main.c ralloc.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
../port.mk:44: Makefile.dep: No such file or directory
awk -f ../SDCCpeeph.awk peeph-gbz80.def > peeph-gbz80.rul
awk -f ../SDCCpeeph.awk peeph-z80.def > peeph-z80.rul
awk -f ../SDCCpeeph.awk peeph.def > peeph.rul
gcc -E -I.. -I. -I../.. -I../../support/Util -M gen.c main.c ralloc.c support.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
../port.mk:44: Makefile.dep: No such file or directory
awk -f ../SDCCpeeph.awk peeph.def > peeph.rul
gcc -E -I.. -I. -I../.. -I../../support/Util -M gen.c main.c ralloc.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
../port.mk:44: Makefile.dep: No such file or directory
awk -f ../SDCCpeeph.awk peeph.def > peeph.rul
gcc -E -I.. -I. -I../.. -I../../support/Util -M gen.c main.c ralloc.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
../port.mk:44: Makefile.dep: No such file or directory
awk -f ../SDCCpeeph.awk peeph.def > peeph.rul
gcc -E -I.. -I. -I../.. -I../../support/Util -M gen.c genarith.c glue.c main.c pcode.c pcodepeep.c ralloc.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
../port.mk:44: Makefile.dep: No such file or directory
gcc -E -I.. -I. -I../.. -I../../support/Util -M aop.c gen.c gen_generic.c i186.c ralloc.c tlcs900h.c util.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
gcc -E -I.. -I. -I../.. -I../../support/Util -M gen.c main.c ralloc.c >Makefile.dep
cpp0: invalid option -smart
cpp0: invalid option -smart
cpp0: invalid option -smart
make[2]: *** [Makefile.dep] Error 1
make[1]: *** [ports] Error 2
make: *** [sdcc-cc] Error 2

Discussion

  • Erick van Rijk

    Erick van Rijk - 2003-02-07

    Logged In: YES
    user_id=270324

    This is a know issue with 10.2. It has to do with precompiled headers and that 10.2 uses a different cpp than 10.2. I'm currently looking into solving this problem.

     
  • Bernhard Held

    Bernhard Held - 2003-05-08
    • assigned_to: nobody --> bernhardheld
    • status: open --> closed
     
  • Bernhard Held

    Bernhard Held - 2003-05-08

    Logged In: YES
    user_id=203539

    See sdccman:
    ./configure CC=gcc2 CXX=g++2

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks