public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* Question about gcj 64 bit compilation.
@ 2011-09-15  0:16 Me Myself and I
  2011-09-15  4:44 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Me Myself and I @ 2011-09-15  0:16 UTC (permalink / raw)
  To: gcc-help, java


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?
 		 	   		  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Question about gcj 64 bit compilation.
  2011-09-15  0:16 Question about gcj 64 bit compilation Me Myself and I
@ 2011-09-15  4:44 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2011-09-15  4:44 UTC (permalink / raw)
  To: Me Myself and I; +Cc: gcc-help, java

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-15  4:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15  0:16 Question about gcj 64 bit compilation Me Myself and I
2011-09-15  4:44 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).