This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

building tool chain for zip it messenger (arm processor)


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.  

Thanks,
Geordy

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


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