This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
documentation of iconv bug and libstdcxx-v3
- To: java-patches at sources dot redhat dot com
- Subject: documentation of iconv bug and libstdcxx-v3
- From: Mark Wielaard <mark at klomp dot org>
- Date: Tue, 17 Oct 2000 10:13:42 +0200
- References: <01C031D1.86828340.green@cygnus.com> <39E2ED96.AA632684@firsthop.com> <87lmvw1x91.fsf@creche.cygnus.com> <87g0m4xzsf.fsf@creche.cygnus.com> <39E60319.3CB084B4@firsthop.com> <874s2im2tr.fsf@creche.cygnus.com> <39E72371.FEB8D524@firsthop.com> <39E789D3.57C9E095@albatross.co.nz> <20001017000100.A32251@klomp.org> <39EB87A6.E1351DF4@albatross.co.nz>
Hi,
The following should help people (like me) that want to test a
current gcj/libgcj cvs snapshot. OK to commit?
2000-10-17 Mark Wielaard <mark@klomp.org>
* build-snapshot.html: Add --enable-libstdcxx-v3
* faq.html: Mention the iconv bug and workaround
? patch
Index: build-snapshot.html
===================================================================
RCS file: /cvs/java/htdocs/build-snapshot.html,v
retrieving revision 1.5
diff -u -u -r1.5 build-snapshot.html
--- build-snapshot.html 2000/08/27 22:03:04 1.5
+++ build-snapshot.html 2000/10/17 08:05:58
@@ -78,10 +78,13 @@
$ cd egcs
$ mkdir objdir
$ cd objdir
- $ ../configure --enable-threads=posix --prefix=/home/joerg/gcc \
- --with-as=/opt/gnu/bin/as --with-ld=/opt/gnu/bin/ld
+ $ ../configure --enable-threads=posix --prefix=/home/joerg/gcc \
+ --enable-libstdcxx-v3 --with-as=/opt/gnu/bin/as --with-ld=/opt/gnu/bin/ld
$ make bootstrap
$ make install
+
+The "--enable-libstdcxx-v3" is now required to build libgcj, because
+otherwise you wont get a libsupc++.
If you compile under Linux you could omit the last two options. Under
Solaris you'll need them. If you omit '--prefix' the compiled source will
Index: faq.html
===================================================================
RCS file: /cvs/java/htdocs/faq.html,v
retrieving revision 1.28
diff -u -u -r1.28 faq.html
--- faq.html 2000/07/08 18:27:35 1.28
+++ faq.html 2000/10/17 08:05:58
@@ -106,6 +106,7 @@
heap sizes?</a>
<li><a href="#5_6">How can I profile my application?</a>
<li><a href="#5_7">I'm getting 'undefined symbol: __dso_handle'</a>
+ <li><a href="#5_8">My program seems to hang and doesn't produce any output</a>
</ol>
<li><a href="#6_0">Programing Issues</a>
<ol>
@@ -782,7 +783,19 @@
</sl>
</blockquote>
</dl>
-
+
+ <hr>
+ <dl>
+ <dt>
+ <h3><a name="5_8">5.8 My program seems to hang and doesn't produce any output</a></h3>
+ </dt>
+ <dd>
+ There seems to be a bug in the current iconv support. You can work around
+ it for now by setting <tt>LANG=en_US.UTF-8</tt> at runtime. Or give the
+ following option during compile time <tt>-Dfile.encoding=UTF-8</tt>.
+ </dd>
+ </dl>
+
<p>
<table width="100%" border="0">
<tr bgcolor="#B0D0FF" align="left">