Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <3DDAC5F3.6070004@nigels.com> Date: Wed, 20 Nov 2002 10:14:59 +1100 From: Nigel Stewart & Fiona Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: mhcox AT bluezoosoftware DOT com CC: cygwin Subject: Re: gcc-3.2-3: bootstrap build fails (HAVE_DECL_GETOPT not in config.h?) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Michael, I have encountered the same problem on my setup. Regards, Nigel Stewart >Trying to build gcc-3.2-3 from scratch. Have the near latest versions of >everything in cygwin (see cygcheck.out). > >/home/mhcox/projects/build/gcc-3.2-3/gcc/xgcc -shared-libgcc -B/home/mhcox/p >rojects/build/gcc-3.2-3/gcc/ -nostdinc++ -L/home/mhcox/projects/build/gcc-3. >2-3/i686-pc-cygwin/libstdc++-v3/src -L/home/mhcox/projects/build/gcc-3.2-3/i >686-pc-cygwin/libstdc++-v3/src/.libs -B/home/mhcox/projects/install/i686-pc- >cygwin/bin/ -B/home/mhcox/projects/install/i686-pc-cygwin/lib/ -isystem >/home/mhcox/projects/install/i686-pc-cygwin/include -I/usr/src/gcc-3.2-3/lib >stdc++-v3/../gcc -I/usr/src/gcc-3.2-3/libstdc++-v3/../include -I/home/mhcox/ >projects/build/gcc-3.2-3/i686-pc-cygwin/libstdc++-v3/include/i686-pc-cygwin >-I/home/mhcox/projects/build/gcc-3.2-3/i686-pc-cygwin/libstdc++-v3/include - >I/usr/src/gcc-3.2-3/libstdc++-v3/libsupc++ -g -O2 -fno-implicit-templates -W >all -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once > -ffunction-sections -fdata-sections -g -c >/usr/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 /usr/src/gcc-3.2-3/libstdc++-v3/libsupc++/pure.cc:34: >/usr/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 > -- 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/