building tool chain for zip it messenger (arm processor)

Khem Raj raj.khem@gmail.com
Mon Mar 22 05:30:00 GMT 2010


On (21/03/10 21:42), Geordy Rostad wrote:
> Hi list, I'm ripping my hair out trying to use crosstools to build a gcc cross compiler for an arm based linux install.  I downloaded crosstool-0.43 and editted the demo-arm.sh to attempt to build gcc-2.95.3-glibc-2.1.3.  The host system is an Ubuntu vm.  I had to apt-get bison and a few other things to get this far but it keeps dying here:
> 
> ....
> gcc-2.95.3/gcc -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config -I/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/../include /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c
> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c: In function ‘arm_override_options’:
> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:286: warning: assignment discards qualifiers from pointer target type
> /home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/gcc-2.95.3/gcc/config/arm/arm.c:530: error: lvalue required as left operand of assignment
> make[1]: *** [arm.o] Error 1
> make[1]: Leaving directory `/home/geordy/crosstool-0.43/build/arm-linux/gcc-2.95.3-glibc-2.1.3/build-gcc-core/gcc'
> make: *** [all-gcc] Error 2
> geordy@ubuntu:~/crosstool-0.4
> 
> I've tried to also build a couple of different versions of gcc-glibc but still get the same error.  Also have made sure gcc, glibc, bintools, etc are newest versions available via apt-get.  

1. Use crosstool-ng
2. Do you really want to build gcc 2.95 and glibc 2.1 ? if not then use
some new combination like gcc 4.4.3 and glibc 2.11 if you really want that
old combination then make sure that your build machine has gcc 2.95
installed too because building cross gcc 2.95 with newer gcc may yield
errors.

> 
> Thanks,
> Geordy
> 
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
> 

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list