Hi,

On Sat, Jun 03, 2000 at 10:14:26AM +1200, Bryce McKinlay wrote:
> 
> It sounds like your trying to build an old version of libgcj with a new
> compiler. You need to make sure you have a recent libgcj from cvs.

Yes. Sorry I thought that I should use the March 02, 2000 00:00:00
version as explained on the Download page.
<http://sourceware.cygnus.com/java/download.html>

I just tried recompiling with the latest cvs version of libgcj and the
may-30 snapshot of egcs. But that fails in a completely different way.

gcj -L/home/mark/src/libgcj-obj/i586-pc-linux-gnu/libjava -g -ffloat-store -o 
.libs/jv-convert --main=gnu.gcj.convert.Convert gnu/gcj/convert/BytesToUnicode.o 
gnu/gcj/convert/Convert.o gnu/gcj/convert/Input_8859_1.o 
gnu/gcj/convert/Input_EUCJIS.o gnu/gcj/convert/Input_JavaSrc.o 
gnu/gcj/convert/Input_SJIS.o gnu/gcj/convert/Input_UTF8.o 
gnu/gcj/convert/Input_iconv.o gnu/gcj/convert/Output_8859_1.o 
gnu/gcj/convert/Output_EUCJIS.o gnu/gcj/convert/Output_JavaSrc.o 
gnu/gcj/convert/Output_SJIS.o gnu/gcj/convert/Output_UTF8.o 
gnu/gcj/convert/Output_iconv.o gnu/gcj/convert/UnicodeToBytes.o .libs/libgcj.so -ldl 
./../boehm-gc/.libs/libgcjgc.so 
-L/home/mark/src/libgcj-obj/i586-pc-linux-gnu/libjava/../boehm-gc/.libs -lpthread 
./../zlib/.libs/libzgcj.so 
-L/home/mark/src/libgcj-obj/i586-pc-linux-gnu/libjava/../zlib/.libs 
-L/home/mark/src/libgcj-obj/i586-pc-linux-gnu/libjava/.libs  -Wl,--rpath 
-Wl,/usr/local/egcs/lib
.libs/libgcj.so: undefined reference to `__cp_push_exception'
.libs/libgcj.so: undefined reference to `__check_eh_spec'
.libs/libgcj.so: undefined reference to `terminate(void)'
.libs/libgcj.so: undefined reference to `__start_cp_handler'
.libs/libgcj.so: undefined reference to `__cp_pop_exception'
.libs/libgcj.so: undefined reference to `__builtin_vec_new'
.libs/libgcj.so: undefined reference to `__builtin_new'
collect2: ld returned 1 exit status

I am now going to try the 2.95.2 version with your patch.

Thanks for all the help,

Mark

P.S. I saw that CodeSourcery makes gcc snapshots. But they don't contain the
Java compiler :(

Reply via email to