delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/19/18:08:55

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: <3DDAC5F3.6070004@nigels.com>
Date: Wed, 20 Nov 2002 10:14:59 +1100
From: Nigel Stewart & Fiona Smith <nigels AT nigels DOT com>
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 <cygwin AT cygwin DOT com>
Subject: Re: gcc-3.2-3: bootstrap build fails (HAVE_DECL_GETOPT not in config.h?)
References: <NDBBJEBGAAGAIKPGOOFIEEAMDMAA DOT mhcox AT bluezoosoftware DOT com>
In-Reply-To: <NDBBJEBGAAGAIKPGOOFIEEAMDMAA.mhcox@bluezoosoftware.com>

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/

- Raw text -


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