This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building current CVS for ARM under cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]