This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Costin Manolache wrote:
Try setting your locale (ie "export LANG=en_US" or whatever). If you are using the C locale then GCJ will not accept non-ascii characters (ideally it would default to latin-1 to match Javac, but its up to glibc not us, I believe). Alternativly you can just compile with the --encoding=UTF-8 command line option.I'm trying to test that tomcat compiles with gcj. I was able to compile most of it and it's dependencies - but there are some problems. First, in jakarta-commons/beanutils there are few files having non-ascii chars in some comments ( the author name, French ). That fails.
Presumably Tomcat compiles with Jikes and Javac, so this is a bug in GCJ rather than Tomcat and should be fixed there. The best thing to do is to try an isolate a small as possible test case which reproduces the bug, and we can try and fix it from there.Any sugestions ? I would like to make the required changes in tomcat so it compiles and works with gcj - but this is a show-stopper.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |