This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
--disable-nls vs. libiconv
- From: Jeff Sturm <jsturm at one-point dot com>
- To: java at gcc dot gnu dot org
- Date: Thu, 8 May 2003 11:05:42 -0400 (EDT)
- Subject: --disable-nls vs. libiconv
PR bootstrap/10657 has to do with a bootstrap failure linking jc1 with
-liconv.
The failure has to do with detecting GNU libiconv support in the bootstrap
compiler. It's not easy to fix, however we can document a workaround.
The submitter makes a reasonable argument that gcj shouldn't try to use
iconv at all when configured with --disable-nls. What do others think?
Given that gcj needs Unicode, any of the following might be reasonable for
--disable-nls:
a) Try to use iconv anyway
b) Don't attempt to link with iconv support, building a cripped gcj
frontend
c) Don't build the gcj frontend at all
a) looks like the current behavior, but I don't remember if this was a
deliberate choice or not.
Jeff