This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Bug on Solaris 2.7 (no fabsf)
Martin Kahlert wrote:
> On Fri, Jan 12, 2001 at 04:44:49PM -0700, Tom Tromey wrote:
> > Martin> my gcj doesn't know a --encoding switch.
> >
> > What version are you using?
> > All recent versions should understand this.
>
> I am using gcj from the gcc-20010108 snapshot.
> Perhaps, the syntax is wrong:
> gcj -o main --encoding=utf-8 --main=hello hello.java
>
> cc1: Unrecognized option `-fencoding=utf-8'
You probibly need to update or make sure you have this patch:
2001-01-10 Tom Tromey <tromey@redhat.com>
* jvspec.c (jvgenmain_spec): Omit -fencoding from cc1 invocation.
regards
[ bryce ]