delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/31/03:51:49

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <17B78BDF120BD411B70100500422FC6309E456@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
To: "'Mack Lobell'" <macklobell AT hotmail DOT com>, cygwin AT cygwin DOT com,
gcc AT gcc DOT gnu DOT org
Subject: RE: How do i upgrade to gcc 3.X on cygwin?
Date: Thu, 31 Jan 2002 09:38:42 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

This looks like the dreaded text/binary Windows dichotomy... :-) You may try
to mount your build directory with a different mode (text != binary instead
of text == binary, or the opposite). I never remember which one is the best
but trying to change it may solve your problem.

HTH

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
-------------------------------------------- 

> -----Original Message-----
> From: Mack Lobell [mailto:macklobell AT hotmail DOT com]
> Sent: Thursday, January 31, 2002 9:38 AM
> To: cygwin AT cygwin DOT com; gcc AT gcc DOT gnu DOT org
> Subject: Re: How do i upgrade to gcc 3.X on cygwin?
> 
> 
> Hi,
> 
> i only want the c and c++ parts. My build was configured with 
> the following 
> flags:
> ../../gcc-3.0.3/configure --with-included-gettext 
> --enable-languages=c,c++
> --enable-shared --enable-threads --target=powerpc-eabi 
> --host=i686-pc-cygwin 
> --build=i686-pc-cygwin --with-newlib
> 
> Are you sure you built with a 2.95.X compiler?
> 
> The build fails on the following lines:
> gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
> -Wno-long-long  -DHAVE_CONFIG_H    -I. -I. -I../../../gcc-3.0.3/gcc
> -I../../../gcc-3.0.3/gcc/. -I../../../gcc-3.0.3/gcc/config
> -I../../../gcc-3.0.3/gcc/../include -c insn-extract.c
> In file included from tm.h:11,
>                  from ../../../gcc-3.0.3/gcc/config/i386/xm-i386.h:39,
>                  from config.h:4,
>                  from insn-extract.c:4:
> insn-flags.h:73: warning: carriage return in preprocessing directive
> insn-flags.h:75: warning: carriage return in preprocessing directive
> insn-flags.h:179: warning: carriage return in preprocessing directive
> In file included from config.h:11,
>                  from insn-extract.c:4:
> insn-flags.h:73: warning: carriage return in preprocessing directive
> insn-flags.h:75: warning: carriage return in preprocessing directive
> insn-flags.h:179: warning: carriage return in preprocessing directive
> gcc -c -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
> -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
> -I../../../gcc-3.0.3/gcc -I../../../gcc-3.0.3/gcc/.
> -I../../../gcc-3.0.3/gcc/config -I../../../gcc-3.0.3/gcc/../include
> ../../../gcc-3.0.3/gcc/genoutput.c
> gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic
> -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genoutput.exe \
> genoutput.o rtl.o bitmap.o ggc-none.o gensupport.o hashtab.o 
> safe-ctype.o
> print-rtl.o errors.o ` case "obstack.o" in ?*) echo obstack.o 
> ;; esac ` `
> case "" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac 
> ` ` case "" in
> ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case 
> "" in ?*) echo
> ;; esac ` -ladvapi32
> ./genoutput.exe ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md >
> tmp-output.c
> ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md:553: Wrong number of
> alternatives in the output template
> ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md:562: Wrong number of
> alternatives in the output template
> ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md:587: Wrong number of
> alternatives in the output template
> ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md:620: Wrong number of
> alternatives in the output template
> ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md:645: Wrong number of
> alternatives in the output template
> 
> ********
> * SNIP *
> ********
> 
> ../../../gcc-3.0.3/gcc/config/rs6000/rs6000.md:12335: Wrong number of
> alternatives in the output template
> make[1]: *** [s-output] Error 33
> make[1]: Leaving directory `/home/guest/build/gcc/gcc'
> make: *** [all-gcc] Error 2
> 
> 
> I know the traces are from a cross compiler build, but a 
> native build fails 
> with the same errors (different file).
> 
> I have tried to remove the -Wxxxx, -pedantic flags, no good.
> 
> Any ideas?
> 
> Regards.
> 
> 
> 
> >From: Benjamin Scherrey <scherrey AT innoverse DOT com>
> >To: cygwin AT cygwin DOT com, gcc AT gcc DOT gnu DOT org, "Mack Lobell" 
> ><macklobell AT hotmail DOT com>
> >Subject: Re: How do i upgrade to gcc 3.X on cygwin?
> >Date: Wed, 30 Jan 2002 20:20:29 -0500
> >
> >I have been able to build 3.x under cygwin when I just 
> specify the C and 
> >C++ languages
> >(see ./configure --help for info on how to do this). As I 
> recall, it failed 
> >in the Fortran build. I
> >didn't bother trying to figure out why as all I wanted was C & C++.
> >
> >	regards,
> >
> >		Ben Scherrey
> >
> >1/30/2002 8:41:30 PM, "Mack Lobell" <macklobell AT hotmail DOT com> wrote:
> > >i have gcc 2.95.3 installed on a NT machine running 
> cygwin. How do i 
> >upgrade
> > >to gcc 3.X?
> > >The 3.X code won't compile with a 2.X compiler. On the 
> successful build 
> >page
> > >gcc 3.X has been built on cygwin, how did you guys do that??
> >
> >
> >
> 
> 
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
> 
> 
> --
> 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/
> 

--
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