This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: Freenet compilation errors.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]