This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

Re[2]: building development tools


Hello Jonathan,

Dienstag, Dienstag, 5. Dezember 2000, you 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 ?

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

JL> extern rtx gen_beq                             PROTO((rtx));

Yes,
in  insn-flags.h:      extern rtx gen_beq            PROTO((void));

in rtl.h              extern rtx gen_beq            PROTO((rtx));

So, configure script is not working very properly.
I've tried to change void to rtx but it a moment it failed again:

stmt.c: In function `expand_end_case':
stmt.c:5292: too many arguments to function `gen_casesi'
make[1]: *** [stmt.o] Error 1

And changes in gen_casesi from void to rtx don't help.
Any suggestions ?

JL> Jifl

Best regards,
 Andrey                            mailto:ur4ukj@gmx.de



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