Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: Chris Faylor Date: Thu, 14 Sep 2000 13:59:21 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: a patch for gcc-2.95.2-2/libio/Makefile.in Message-ID: <20000914135921.E19083@cygnus.com> Reply-To: cygwin AT sources DOT redhat DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: ; from Marc.Herbert@inrialpes.fr on Thu, Sep 14, 2000 at 11:36:56AM +0200 You should probably send this to the g++ mailing list at sources.redhat.com. cgf On Thu, Sep 14, 2000 at 11:36:56AM +0200, Marc Herbert wrote: > >Here is a one line patch for the file : > > gcc-2.95.2-2/libio/Makefile.in > >The bug occurs when you want to compile the libio library with >CFLAGS, for instance " -mno-cygwin ". The flags you give are not >considered when building the file _G_config.h, which seems bad to me. > >I don't if the flags $(NOSTDINC) should be also added ? We did not >need them. > > >*** Makefile.in 2000/09/14 08:47:42 1.1 >--- Makefile.in 2000/09/14 08:47:57 >*************** >*** 102,108 **** > > _G_config.h: ${srcdir}/gen-params > rootme=`pwd`/ ; export rootme; \ >! CC="$(CC) $(CINCLUDES)"; export CC; \ > CXX="$(CXX) $(CXXINCLUDES) $(NOSTDINC) $(CXXFLAGS)"; export CXX; \ > CONFIG_NM="$(NM)"; export CONFIG_NM; \ > $(SHELL) ${srcdir}/gen-params LIB_VERSION=$(VERSION) $(G_CONFIG_ARGS) >tmp-params.h >--- 102,108 ---- > > _G_config.h: ${srcdir}/gen-params > rootme=`pwd`/ ; export rootme; \ >! CC="$(CC) $(CINCLUDES) ${CFLAGS}"; export CC; \ > CXX="$(CXX) $(CXXINCLUDES) $(NOSTDINC) $(CXXFLAGS)"; export CXX; \ > CONFIG_NM="$(NM)"; export CONFIG_NM; \ > $(SHELL) ${srcdir}/gen-params LIB_VERSION=$(VERSION) $(G_CONFIG_ARGS) >tmp-params.h > > > >Sincerely, > > > >-- >Marc Herbert | GIE Dyade (Bull/INRIA) >Marc DOT Herbert AT inria DOT fr | http://www.dyade.fr/ >tel: +33 4 7661 5258 | VASY Project >fax: +33 4 7661 5252 | http://www.inrialpes.fr/vasy -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com