libgcj itself wants the lgcj!

Tom Tromey tromey@cygnus.com
Tue May 18 11:22:00 GMT 1999


>>>>> "Manosiz" == Manosiz Bhattacharyya <mano@cse.ucsc.edu> writes:

Manosiz> I have installed an egcs compiler set. With the new compiler
Manosiz> set, I am trying to build the libgcj. However, this crashes
Manosiz> trying to build jv-convert. There is a linker error saying
Manosiz> that it could not find libgcj.  Could anyone have any
Manosiz> suggestions. The tail of the make looks like

Which version of the library are you using?  `head -5 ChangeLog'
should be enough info.

My libjava/Makefile.am says this:

    jv_convert_LDADD = $(convert_source_files:.java=.lo) libgcj.la \
	    $(GCLIBS) $(THREADLIBS) $(ZLIBS) -L$(here)/.libs

You seem to be missing that final `-L'.  This -L is a hack which lets
gcj work in a semi-natural way in this environment (this is only
required because we are also building libgcj here.  Users of the
installed library won't have to do this silly thing.)

Tom


More information about the Java mailing list