This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Question about gcj 64 bit compilation.
- From: Ian Lance Taylor <iant at google dot com>
- To: Me Myself and I <stargate7thsymbol at live dot co dot uk>
- Cc: <gcc-help at gcc dot gnu dot org>, <java at gcc dot gnu dot org>
- Date: Wed, 14 Sep 2011 21:44:32 -0700
- Subject: Re: Question about gcj 64 bit compilation.
- References: <BAY159-W8FE6880929EE530C5B955D0070@phx.gbl>
Me Myself and I <stargate7thsymbol@live.co.uk> writes:
> I am compiling Java source code in Mandriva 2011 64 bit,
> and default mode runs happily.
>
> The -m32 mode behaves as expected.
>
> However, when I try
>
> gcj Test.java --main=Test -m64 -o Test.bin
>
> I get the error:
>
> jc1: sorry, unimplemented: 64-bit mode not compiled in
>
> If my linux is 64 bit and if I omit -m64 and let it proceed,
>
> will gcj compile into 64 bit by default?
This error means that your gcj compiler was built without support for
x86 64-bit mode.
Ian