Problems cross-compiling

Lincoln Spiteri lincoln.spiteri@st.com
Mon Nov 29 05:29:00 GMT 1999


Hello,

I am having problems compiling libgcj using recent snapshots of both libgcj and
egcs.  The problems start when gcj is invoked, I get:

CLASSPATH=/home/lincoln/src/build/sparc-sun-solaris2.5.1/libjava /bin/sh ./libto
ol --mode=compile sparc-sun-solaris2.5.1-gcj -fassume-compiled -g -L/home/lincol
n/src/build/sparc-sun-solaris2.5.1/libjava   -c -o gnu/gcj/convert/BytesToUnicod
e.lo ../../../libgcj-snapshot-1999-11-28/libjava/gnu/gcj/convert/BytesToUnicode.
java
mkdir gnu/gcj/convert/.libs
sparc-sun-solaris2.5.1-gcj -fassume-compiled -g -L/home/lincoln/src/build/sparc-
sun-solaris2.5.1/libjava -c  -fPIC ../../../libgcj-snapshot-1999-11-28/libjava/g
nu/gcj/convert/BytesToUnicode.java -o gnu/gcj/convert/.libs/BytesToUnicode.lo
sparc-sun-solaris2.5.1-gcj: specs file malformed after 212 characters
make[2]: *** [gnu/gcj/convert/BytesToUnicode.lo] Error 1
make[2]: Leaving directory `/home/lincoln/src/build/sparc-sun-solaris2.5.1/libja


If I edit the spec file and remove the jc1 entry from the spec file, the make
process starts compiling ByteToUnicode.java and just hangs. The jc1 process
will eat 97% cpu time until I kill it. Also in /tmp a .s file is created which
just stays at 0 bytes in size. 

Any ideas as to what might be happening?

Regards

Lincoln

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

Lincoln Spiteri

Manufacturing Systems
STMicroelectronics, Malta

e-mail: lincoln.spiteri@st.com

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


More information about the Java mailing list