Re: Question about gcj 64 bit compilation.

Ian Lance Taylor <[email protected]>
Newsgroups gmane.comp.gcc.help,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Me Myself and I <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.