[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem building gcc 2.95



+++ Henrion Benjamin [04-05-21 00:06 +0200]:
> Hello,
> 
> I'm tryong to built arm-elf-gcc, but I have the following error:
> 
> In file included from ../../gcc-2.95.3/gcc/c-lex.c:31:
> ../../gcc-2.95.3/gcc/c-parse.h:54: conflicting types for `RETURN'
> ../../gcc-2.95.3/gcc/rtl.def:503: previous declaration of `RETURN'
> make[1]: *** [c-lex.o] Erreur 1
> make[1]: quittant le répertoire «
> /home/zoobab/tmp/isl3893/tools/build-gcc/gcc »
> make: *** [all-gcc] Erreur 2
> 
> 
> *** Error installing arm-elf-gcc
> 
> Can you help?

Don't know exactly what's wrongthere but why build oneof these when there
are lots available pre-built, especially the one on emdebian.org which is
nicely setup with debian  paths so it 'just works' with dpkg-cross etc, and
is in and aptable repository. just add the sources line and do apt-get
task-arm-cross, as described on the website.

Best place to ask about compilation rpoblems is thecross-gcc list.

> Can we hope to see the cross-compilers in debian one day?
 
That's always been my plan. I did do a version based on tollchain-source but
a) it had bugs and b) toolchain-source has problems as a concept within
Debian. Nikita's new gcc mods make it much more plasuible to get
arm-linux-gcc versions built from these sources. I'm poking it now.

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel +44 (0) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/



Reply to: