On Sat, 17 Nov 2007, Pedro 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" > > 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?
I tested the source as of today and had no problems. In usr/src/usr.bin/pcc i did the following steps... make obj make depend make if i wanted to install it i should do a make install -moj > Thanks in advance, > Pedro de Oliveira.

