On Sat, 17 Nov 2007, Pedro de Oliveira wrote:

Hi,

Has anyone had luck compiling the pcc that comes in the source tree?
I've been trying everyday after syncronizing, but im having the same error
over and over.
It always fails on the directory "ccom/i386" with this error:

cc -O2 -pipe -DPCC_DEBUG -DGCC_COMPAT -Wall -Wmissing-prototypes
-Wstrict-prototypes -Werror -DLIBEXECDIR=\"/usr/local/libexec\" -I.
-I/usr/src/usr.bin/pcc/ccom/i386/.. -I/usr/src/usr.bin/pcc/ccom/i386
-I/usr/src/usr.bin/pcc/ccom/i386/../../mip
-I/usr/src/usr.bin/pcc/ccom/i386/../../i386
-I/usr/src/usr.bin/pcc/ccom/i386/../.. -c
/usr/src/usr.bin/pcc/ccom/i386/../trees.c
In file included from /usr/src/usr.bin/pcc/ccom/trees.c:70:
/usr/src/usr.bin/pcc/mip/pass2.h:40:22: external.h: No such file or
directory In file included from /usr/src/usr.bin/pcc/ccom/trees.c:70:
/usr/src/usr.bin/pcc/mip/pass2.h:375: error: syntax error before "bittype"
*** Error code 1

Am I doing something wrong or it still doesnt build yet?

You need to do:

make obj
make depend
make

--
Antti Harri

Reply via email to