This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Sign of success in cross compilation using GCJ!
- To: aph@pasanda.cygnus.co.uk
- Subject: Sign of success in cross compilation using GCJ!
- From: Lincoln Spiteri <lincoln.spiteri@st.com>
- Date: Tue, 27 Jul 1999 11:18:08 +0200
- Cc: java-discuss@sourceware.cygnus.com
- Organization: STMicroelectronics
- References: <19990721160626.11806.qmail@pasanda.cygnus.co.uk>
Hello,
I am pleased to report that I have managed to set up a gcj cross compiler. The
host is Red Hat linux 6.0 targeting Solaris 2.5.1.
I encountered some problems with the libjava Makefile most of which where
related to zlib. I have reported this mosly off list though. After manually
adding in the missing parameters in the Makefile libgcj could compile. It died
on a link however (undifined socket tyoe symbols) so I had to manualy add
-lsocket to the Makefile as well.
When compiling my program ( a simple TCP server ) the linker wanted -lzgcj and
-lsocket and finaly all went well. After copying the executable and gcj
libraries to the target machines I gave it a spin and all seems to work like a
charm.
Thank you Cygnus and all those who contribute to gcj! Next up SunOS4...
Regards
Lincoln (who has now got a warm fuzzy feeling inside)
--
------------------------------------------------------------------------------
Lincoln Spiteri
Manufacturing Systems
STMicroelectronics, Malta
e-mail: lincoln.spiteri@st.com
------------------------------------------------------------------------------