[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: trouble compiling javahl with gcj

From: Holger Hoffstaette <holger_at_wizards.de>
Date: 2004-11-21 14:16:15 CET

On Sat, 20 Nov 2004 13:45:25 -0500, Tim Olsen wrote:

> Has anyone had any success compiling javahl with gcj?

You need to explicitly specify an encoding for the funny french
characters, which seem to confuse the parser. A quick test:

holger>gcj -C --encoding=latin1 Revision.java RevisionKind.java StatusKind.java Status.java DirEntry.java
holger>ll *.class
-rw-r--r-- 1 holger users 1.3K Nov 21 14:03 DirEntry.class
-rw-r--r-- 1 holger users 1.3K Nov 21 14:03 Revision$DateSpec.class
-rw-r--r-- 1 holger users 324 Nov 21 14:03 Revision$Kind.class
-rw-r--r-- 1 holger users 793 Nov 21 14:03 Revision$Number.class
-rw-r--r-- 1 holger users 2.0K Nov 21 14:03 Revision.class
-rw-r--r-- 1 holger users 399 Nov 21 14:03 RevisionKind.class
-rw-r--r-- 1 holger users 754 Nov 21 14:03 Status$Kind.class
-rw-r--r-- 1 holger users 3.6K Nov 21 14:03 Status.class
-rw-r--r-- 1 holger users 593 Nov 21 14:03 StatusKind.class

The other files in your message are just dependent failures and compile
cleanly as well. I'm not sure if latin1 is actually The Right Thing to
specify here, but I could not get any other encoding names to work.

Holger

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Nov 21 14:53:01 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.