config.guess reports: armv4l-unknown-linux-gnu gcc -v reports: Using built-in specs. Target: armv4l-unknown-linux-gnu Configured with: ../gcc-4.0.1/configure --with-cpu=strongarm --with-pic --prefix=/home/random/gcc4 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-bootstrap --enable-languages=c,c++,java,objc Thread model: posix gcc version 4.0.1
I enabled the languages C, C++, Java, and ObjectiveC, as you can see from the configure flags above. The distribution I'm using is a customized Linux From Scratch on a Netwinder 2100 from Rebel Computing, with Linux 2.6.10, glibc from CVS HEAD as of 2004-06-21, binutils 2.15.91.0.1, and gcc 3.4.1. glibc, binutils, and gcc all had some ARM-specific patches that I got from Dan Kegel's crosstool. I needed to make one small change to get the bootstrap build of 4.0.1 to complete: initially, compilation of gcc/java/jcf-write.c failed in stage2 complaining of an unused variable in the following block (around line 2236): else { tree type = TREE_TYPE(exp); emit_load (arg, state); } I deleted the "tree type = TREE_TYPE(exp)" line and that corrected the problem. Cheers, bn