Mail Archives: cygwin/2002/01/31/03:38:26
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/
- Raw text -