From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Lewin A.R.W. Edwards" To: Alexandre Oliva Cc: gcc-help@gcc.gnu.org Subject: Re: Building current CVS for ARM under cygwin Date: Wed, 21 Mar 2001 20:50:00 -0000 Message-id: <4.3.2.7.2.20010321234805.00b41de8@mail.larwe.com> References: <4.3.2.7.2.20010321124753.02b43bd0@mail.larwe.com> X-SW-Source: 2001-03/msg00196.html Hi Alexandre, > > 'src/gcc/gcc/config/arm/arm.md:36: unknown rtx code `define_constants > > /src/gcc/gcc/config/arm/arm.md:36: following context is ` [(IP_REGNUM > > 12); > >Are you trying to use current GCC's arm.md with an older GCC release? >This is not going to work. define_constants is a new construct. No, I was using a new complete CVS checkout. The problem turns out to be CR/LF (damn cygwin), so I used tr -d '\r' to fix that one file, and got much further in the build process. However now it fails linking cc1.exe. On the advice of Jonathan Larmour (Red Hat) I've submitted this one to GNAT: gcc -DCROSS_COMPILE -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototy pes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cc1.exe \ c-parse.o c-lang.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-c onvert.o c-aux-info.o c-common.o c-format.o c-semantics.o c-dump.o libcpp.a mai n.o libbackend.a obstack.o -lintl -ladvapi32 ../libiberty/libiberty.a libbackend.a(recog.o)(.text+0x231b): undefined reference to `PUSH_ROUNDING' libbackend.a(recog.o)(.text+0x2335): undefined reference to `PUSH_ROUNDING' collect2: ld returned 1 exit status make[1]: *** [cc1.exe] Error 1 make[1]: Leaving directory `/tmp/build/gcc/gcc' make: *** [all-gcc] Error 2 make: Leaving directory `/tmp/build/gcc' === Lewin A.R.W. Edwards (Embedded Engineer) Work: http://www.digi-frame.com/ Personal: http://www.zws.com/ and http://www.larwe.com/ "Und setzet ihr nicht das Leben ein, Nie wird euch das Leben gewonnen sein."