Freenet compilation errors.

Mark J. Roberts mjr@statesmean.com
Sat Jan 6 21:31:00 GMT 2001


On 6 Jan 2001, Tom Tromey wrote:

> Your source files are probably encoded using Latin-1.  If that's the
> case you have to explicitly tell gcj when compiling:
> 
>     gcj --encoding=8859_1 ...

This works fine, and the errors stop, but then this error occurs:

cc1: Unrecognized option `-fencoding=8859_1'

Is this a bug? A similar thing happened when I tried to do (and note the
"gcc") "gcc -o HelloWorld --main=HelloWorld HelloWorld.java" -- it errored
with:

jc1: Unrecognized option `-fmain=Test'

which is slightly different. Looks like the options are being munged
incorrectly between programs.


-- 
Mark Roberts
mjr@statesmean.com



More information about the Java mailing list