[ECOS] building development tools

Jonathan Larmour jlarmour@cygnus.co.uk
Tue Dec 5 13:39:00 GMT 2000

Andrey Panchenko wrote:
> I'm getting problems Building the Intel x86 development tools for
> Windows. I've successfully installed binutils -2.10.1, and then I had
> patched gcc 2.95.2,puted path to new binutils to the path environment
> on the beginning, configured gcc, and when I try to build it I get
> following problem:
> In file included from function.c:48:
> insn-flags.h:425: conflicting types for `gen_beq'
> rtl.h:1032: previous declaration of `gen_beq'
> insn-flags.h:431: conflicting types for `gen_bge'
> rtl.h:1033: previous declaration of `gen_bge'
> insn-flags.h:433: conflicting types for `gen_ble'
> rtl.h:1034: previous declaration of `gen_ble'
> insn-flags.h:435: conflicting types for `gen_jump'
> rtl.h:1031: previous declaration of `gen_jump'
> function.c: In function `expand_function_end':
> function.c:6505: too many arguments to function `gen_jump'
> make[1]: *** [function.o] Error 1
> make[1]: Leaving directory `/home/andrey/tmp/gcc-2.95.2/gcc'
> make: *** [all-gcc] Error 2
> make: Leaving directory `/home/andrey/tmp/gcc-2.95.2'
> Does anybody familiar with this kind of problem ?

It's the first time I've seen this. Can you have a look at insn-flags.h (in
the build tree) and rtl.h (in the source tree) to see what the two
prototypes are? In a build tree I have here, they are both:

extern rtx gen_beq                             PROTO((rtx));

Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

More information about the Ecos-discuss mailing list