Thanks both for your help,
I tried Brad's suggestion first and it worked. I upgraded GCC (and GCJ)
from 3.4.3 to 4.2.0 and now it works fine.
Robert Dodier wrote:
>>I'm having problems getting Java on the Gumstix. I have followed the
>>instruction on the web site to add the appropriate packages (classpath,
>>jamvm, zlib) but then it won't compile: I get the following errors:
>Dunno if it matters in this case, but fwiw: if I enable the add-on packages
>I want and then try to do a build in a clean sandbox, I get some errors.
>But if I build from a clean sandbox and then enable some additional
>and then build again, it succeeds. YMMV.
>>make: Entering directory
>>/usr/bin/gcj -Wno-deprecated --encoding=UTF-8 --bootclasspath ''
>I wasn't able to get GCJ to work. I have been happily compiling with Jikes
>You need to enable Jikes in classpath.mk. I've attached a patch for that.
>PS. A patch to enable Jikes and disable GCJ. I also found it necessary to
>explicitly enable software floating point operations and PIC (to make
>relocatable code for .so libraries iirc). YMMV.
>I think you can ignore the X-windows related stuff. YMMV again.
>$ svn diff package/classpath/classpath.mk
>--- package/classpath/classpath.mk (revision 1089)
> package/classpath/classpath.mk (working copy)
>@@ -24,10 24,10 @@
> $(CLASSPATH_DIR)/.configured: $(CLASSPATH_DIR)/.unpacked
> (cd $(CLASSPATH_DIR); rm -rf config.cache; \
> $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD=$(HOSTCC) \
>- CFLAGS="$(TARGET_CFLAGS)" \
> CFLAGS="$(TARGET_CFLAGS) -msoft-float -fPIC" \
> ./configure \
> --target=$(GNU_TARGET_NAME) \
>- --host=$(GNU_TARGET_NAME) \
> --host=arm \
> --build=$(GNU_HOST_NAME) \
> --prefix=/usr \
> --exec-prefix=/usr \
>@@ -39,7 39,13 @@
> --localstatedir=/var \
> --mandir=/usr/man \
> --infodir=/usr/info \
>- --disable-gtk-peer \
> --with-jikes \
> --without-gcj \
> --with-x \
> --disable-qt-peer \
> --disable-gconf-peer \
> --disable-plugin \
> --enable-gtk-peer \
> touch $(CLASSPATH_DIR)/.configured
Windows Live Hotmail is the next generation of MSN Hotmail. Its fast,
simple, and safer than ever and best of all its still free. Try it today!