How exactly does one build libjava successfully?

Alexandre Petit-Bianco apbianco@cygnus.com
Tue Feb 13 21:47:00 GMT 2001


Per Bothner writes:

> It seems to be a variant of the problem I reported February 4 to
> gcc-bugs (Subject: undefined `__terminate_set_func@GCC_3.0'), and
> then to the Java list the next day.  A work-around was to add
> -L/home/bothner/GNU/linux-gcc/gcc (or whatever your gcc build
> directory is) to the link command lines.

Yes, whether it's the trunk or the 3.0 branch:

  http://gcc.gnu.org/ml/java/2001-02/msg00227.html

I had to proceed slightly differently, by adding the `-L<builddir>/gcc
-lgcc_s'. I tweaked libjava's Makefile since both jv-convert and gij
need to be linked.

I think that Bryce was asking for more details, but I can't reproduce
the bug anymore. Strange, because the only thing I changed today was
the front-end -- maybe a clean rebuild will show it again.

./A



More information about the Java mailing list