Mail Archives: cygwin/2002/12/13/12:07:08
Hello,
I have tried to rebuild GCC 3.2-3 it builds the execs but unfortunately it
bombs out making some of the libraries.
I may have mised something but I am not sure. How do I build CygWin GCC
3.2-3 ?
I have installed CygWin then changed to the 'i686-pc-cygwin' directory then
done a 'make'.
Have I missed any configuration steps, or is GCC's library broken ?
===
It looks like the following file is broken :-
libstdc++-v3/libsupc++/pure.cc
~~~
/usr/i686-pc-cygwin/gcc/xgcc -shared-libgcc -B/usr/i686-pc-cygwin/gcc/ -nost
dinc
++ -L/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/src -L/usr/i686-pc-cygw
in/i
686-pc-cygwin/libstdc++-v3/src/.libs -B/usr/local/i686-pc-cygwin/bin/ -B/usr
/loc
al/i686-pc-cygwin/lib/ -isystem
/usr/local/i686-pc-cygwin/include -I../../../../
src/gcc-3.2-3/libstdc++-v3/../gcc -I../../../../src/gcc-3.2-3/libstdc++-v3/.
./in
clude -I/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygw
in -
I/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/include -I../../../../src/g
cc-3
.2-3/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -Wall -Wno-format
-W
-Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-section
s -f
data-sections -g -c
../../../../src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc -o
pure.o
cc1plus: warning: -ffunction-sections may affect debugging on some targets
In file included from /usr/include/unistd.h:8,
from
../../../../src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc:3
4:
../../../../src/gcc-3.2-3/include/getopt.h:115: declaration of C function
`int
getopt()' conflicts with
/usr/include/sys/unistd.h:125: previous declaration `int getopt(int, char*
const*, const char*)' here
make[3]: *** [pure.lo] Error 1
make[3]: Leaving directory
`/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3/libs
upc++'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/usr/i686-pc-cygwin/i686-pc-cygwin/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
~~~
Hope you can help, many thanks in advance,
Aaron Gray
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -