[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Building pcc

From: Sanghyeon Seo
Subject: [Tinycc-devel] Building pcc
Date: Fri, 26 Oct 2007 15:35:12 +0900

I tried to build pcc (Portable C Compiler) with tcc, which should be a
good test.

pcc is available from:

$ export CC=/opt/tcc/bin/tcc
$ ./configure --prefix=/opt/pcc
$ make

This fails with:

cd cpp; make all -w
make[2]: Entering directory `/home/tinuviel/cvs/pcc/cc/cpp'
bison -y -d  cpy.y
/opt/tcc/bin/tcc  -I../../arch/i386 -g -DCPP_DEBUG -Wall
-Wmissing-prototypes -Wstrict-prototypes -Werror -c -o cpy.o y.tab.c
/opt/tcc/bin/tcc  -I../../arch/i386 -g -DCPP_DEBUG -Wall
-Wmissing-prototypes -Wstrict-prototypes -Werror -c cpp.c
flex  scanner.l
/opt/tcc/bin/tcc  -I../../arch/i386 -g -DCPP_DEBUG -Wall
-Wmissing-prototypes -Wstrict-prototypes -Werror -c -o scanner.o
/opt/tcc/bin/tcc  -I../../arch/i386 -g -DCPP_DEBUG -Wall
-Wmissing-prototypes -Wstrict-prototypes -Werror -c -o compat.o
/opt/tcc/bin/tcc -g -DCPP_DEBUG -Wall -Wmissing-prototypes
-Wstrict-prototypes -Werror  cpp.o cpy.o scanner.o compat.o -o cpp
cpy.o: 'ifiles' defined twice
cpy.o: 'slow' defined twice
scanner.o: 'ifiles' defined twice
scanner.o: 'slow' defined twice
tcc: undefined symbol 'alloca'

So something is defined twice... Have anyone seen a similar error?

Seo Sanghyeon

reply via email to

[Prev in Thread] Current Thread [Next in Thread]