Hi all
I have just tried to build gpc on a cygwin installation on my Windows machine. Usually I fire of the following commands on a Linux-box and it works like a charm.
cd /home/prb/program/gpc tar xzf gpc-20010924.tar.gz tar xzf gcc-core-2.95.2.tar.gz cd gpc-20010924 mv p ../gcc-2.95.2/gcc/ cd .. mkdir gpc-build cd gpc-build /home/prb/program/gpc/gcc-2.95.2/configure --enable-languages=pascal --prefix=/home/prb/program/gpc/ make cd gcc make pascal.install
However on my cygwin installation, the make command fails with an error:
test x"no" != xyes || \ gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/prb/program/gpc/gcc-2.95.2/libiberty /../include /home/prb/program/gpc/gcc-2.95.2/libiberty/strerror.c -o pic/strer ror.o gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/home/prb/program/gpc/gcc-2.95.2/libiberty/. ./include /home/prb/program/gpc/gcc-2.95.2/libiberty/strerror.c /home/prb/program/gpc/gcc-2.95.2/libiberty/strerror.c:461: conflicting types for `sys_errlist' /usr/include/sys/errno.h:23: previous declaration of `sys_errlist' make[1]: *** [strerror.o] Error 1 make[1]: Leaving directory `/home/prb/program/gpc/gpc-build/libiberty' make: *** [all-libiberty] Error 2
Can anyone tell me what I'm doing wrong?
Best regards
Preben Bohn
===== The two rules for success are: 1. Never tell them everything you know.
____________________________________________________________ Nokia Game is on again. Go to http://uk.yahoo.com/nokiagame/ and join the new all media adventure before November 3rd.