c++/4479
David Abrahams
david.abrahams@rcn.com
Mon Oct 8 03:28:00 GMT 2001
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4479&database=gcc
Even with the latest cygwin snapshot, the same problems ensue when I "export
PATH=/usr/bin:$PATH" in order to bypass the installed gcc-3.0 and use the
gcc-2.95.3 that came with cygwin. The really odd thing about this is that I
know I've done it successfully in the past.
$ make bootstrap
.
.
.
make[1]: Entering directory `/cygdrive/e/gcc-src/build/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc/libiberty/../include -W -Wall
-Wtraditional -pedant
ic ../../gcc/libiberty/strerror.c -o pic/strerror.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc/libiberty/../include -W -Wall
-Wtraditional -pedantic
../../gcc/libiberty/strerror.c
../../gcc/libiberty/strerror.c:465: warning: static declaration for
`sys_nerr' follows non-static
../../gcc/libiberty/strerror.c:466: 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 `/cygdrive/e/gcc-src/build/libiberty'
make: *** [all-libiberty] Error 2
.
.
.
gcc -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissi
ng-prototypes -Wtraditio
nal -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1.exe \
c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o
c-convert.o c-aux-info.
o c-common.o c-format.o c-semantics.o c-dump.o libcpp.a toplev.o
libbackend.a obstack.o -lintl
-ladvapi32 ../libiberty/libiberty.a
gcc: ../libiberty/libiberty.a: No such file or directory
make[1]: *** [cc1.exe] Error 1
make[1]: Leaving directory `/cygdrive/e/gcc-src/build/gcc'
make: *** [install-gcc] Error 2
More information about the Gcc-bugs
mailing list