Re: GNU Classpath cross compilation

From: Thiago Toshio Matsumoto <thiago.matsumoto_at_poli.usp.br>
Date: Fri, 16 Feb 2007 19:02:54 -0200

  Hi,

  Thanks for the tips!

  I am using (or trying to use at least...) JamVM. Right now I am a little ashamed for not have seen this url before: http://familiar.handhelds.org/releases/v0.8.4/feed/. I could have "ipkged" it all instead of trying to cross compile...
  Well...I hope it work this time.

  Thanks again.
  Thiago

Hi Thiago,

familiar v0.8.4 uses gtk+_2.6.10 but the current classpath (0.93)
heavily depends on gtk 2.8. You will not get it working with 2.6.x.

I see multiple solutions:
1. Classpath without the gtk peer
./configure --host=arm-linux --build=i386-linux --target=arm-linux
--prefix=/usr/local/classpath --without-x --disable-gtk-peer --with-jni
--disable-gconf-peer --with-jikes --disable-plugin
2. Classpath without the gtk peer, but --with-escher (let me know, if
you would get that working)
3. Using classpath 0.91 (don't know about 0.92)

As alternative to the AWT peers in Classpath, I got it working with
java-gnome-4.0.2 on my nokia770. It seems good, althrough java-gnome is
in the beginnings.

Which VM are you using?

Ragards,
  Sebastian

it will not be possible
Thiago Toshio Matsumoto schrieb:
> Hi,
>
> I'm trying to cross compile GNU Classpath to iPAQ 3850 (Familiar v0.8.4), but I've got some errors in make. This is the last one I've got:
>
> (...)
> /usr/local/lib/libgdk_pixbuf-2.0.so -lm -lfreetype -lz /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lSM -lICE -L/usr/local/arm/3.4.1/arm-linux/lib/ -lXrender -lX11 -lXtst -pthread -pthread -Wl,-soname -Wl,libgtkpeer.so -o .libs/libgtkpeer.so
> /usr/local/lib/libgtk-x11-2.0.so: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> (...)
>
> I know the libgtk-x11-2.0.so that I have is not for ARM. I tried to cross compile the GTK+ to fix it, but I've just got more errors like this. Has anybody managed to cross compile GNU Classpath succesfully? Can you give me some tips? Is there some way to get libglib-2.0.so for ARM other than cross compiling GTK+?
>
> Thanks in advance.
> Thiago
> _______________________________________________
> The Familiar Linux Distribution
> Familiar mailing list
> Familiar_at_handhelds.org
> https://handhelds.org/mailman/listinfo/familiar
> irc://irc.freenode.net #familiar
>

-- 
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH
Heilsbachstr. 24, 53123 Bonn    | Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0         | fon: +49(30) / 27594853
fax: +49(228) / 52675-25        | fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17  | mobil: +49(171) / 7673249
Geschäftsführer:
Boris Esser, Elmar Geese, Thomas Müller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941
------------------------------
_______________________________________________
Familiar mailing list
Familiar_at_handhelds.org
https://handhelds.org/mailman/listinfo/familiar
End of Familiar Digest, Vol 50, Issue 20
****************************************

Received on Fri Feb 16 2007 - 16:03:05 EST

This archive was generated by hypermail 2.2.0 : Fri Feb 16 2007 - 16:04:06 EST