public inbox for
 help / color / mirror / Atom feed
From: Me Myself and I <>
To: <>, <>
Subject: No gcj 64 bit compilation support? What the?
Date: Thu, 15 Sep 2011 08:16:00 -0000	[thread overview]
Message-ID: <BAY159-W20CD92154C5B0FAB527CBDD0070@phx.gbl> (raw)

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 --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

Then why is this, if my compiler is on a 64 bit operating system with
64 bit hardware?  Shouldn't it compile to 64 bit files anyway?
Isn't the operating system really doing this by default? Is this my reply really accurate?
If not, why not? Where can I find simple instructions to build gcj
to compile 64 bit optimised executable files?

             reply	other threads:[~2011-09-15  8:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15  8:16 Me Myself and I [this message]
2011-09-15  8:33 ` Chris Burdess
2011-09-15  8:39 ` Andrew Haley
2011-09-15  8:44   ` Jonathan Wakely
2011-09-15  9:07     ` Andrew Haley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY159-W20CD92154C5B0FAB527CBDD0070@phx.gbl \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).