This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How do I build GCC 3.2-3 or is it broken ?


Check out the following:

http://sources.redhat.com/ml/cygwin/2002-11/msg01045.html
http://www.cygwin.com/ml/cygwin/2002-12/msg00426.html

Mike

P.S.  Just in case you read this, Chris, didn't mean to upset you or
apologize for you.  I was just trying to encourage Anurag, who seemed a
little discouraged.

> -----Original Message-----
> From: Aaron Gray [mailto:aarongray@beeb.net]
> Sent: Friday, December 13, 2002 10:07 AM
> To: cygwin@cygwin.com
> Subject: How do I build GCC 3.2-3 or is it broken ?
>
>
> 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
>
>
>

Attachment: smime.p7s
Description: application/pkcs7-signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]