[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gettext >= 0.15 giving HAVE_JAVACOMP=0 on fedora
From: |
Bruno Haible |
Subject: |
Re: gettext >= 0.15 giving HAVE_JAVACOMP=0 on fedora |
Date: |
Thu, 1 Feb 2007 04:50:23 +0100 |
User-agent: |
KMail/1.5.4 |
Hello,
Jens Petersen wrote:
> (This is my first post to the list. :)
You're welcome. The topic is entirely appropriate.
> I noticed a while back that libintl.jar doesn't seem to get built
> anymore on Fedora for gettext 0.15 and later.
>
> gettext-0.16.1/gettext-runtime/config.log has:
>
> configure:4230: checking for Java compiler
> configure:4392: found /usr/bin/gcj
> configure:4479: gcj -C -d . conftestlib.java
> configure:4617: result: no
>
> This is with gcj and libgcj from gcc-4.1.1
Yes. gcj in the GCC releases so far does not have the option to generate
bytecode that works in all Java implementations >= 1.1; it uses bytecodes
that don't work in a 1.1 JVM and furthermore labels the classes as
requiring a 1.3 or 1.4 JVM.
gettext's javacomp.m4, since gettext-0.15, guarantees to build a libintl.jar
that is fully portable. But gcj < 4.3 cannot deliver this promise. See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7066. This should be fixed in
gcj 4.3.0.
> ps Are any free software Java projects making use of libintl.jar btw?
Probably not many: the 'ResourceBundle' and '*.properties' methodology is
quite firmly entrenched in the Java camp. But there is a reasonable number
of users of xgettext for Java.
Bruno