delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/13/12:07:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <002c01c2a2ca$08237470$a7e5b6ac@london289>
From: "Aaron Gray" <aarongray AT beeb DOT net>
To: <cygwin AT cygwin DOT com>
Subject: How do I build GCC 3.2-3 or is it broken ?
Date: Fri, 13 Dec 2002 17:06:50 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019