This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

Sign of success in cross compilation using GCJ!


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

------------------------------------------------------------------------------

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