From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16684 invoked by alias); 15 Sep 2011 08:16:43 -0000 Received: (qmail 16642 invoked by uid 22791); 15 Sep 2011 08:16:36 -0000 X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_GC X-Spam-Check-By: sourceware.org Received: from bay0-omc4-s24.bay0.hotmail.com (HELO bay0-omc4-s24.bay0.hotmail.com) (65.54.190.226) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Sep 2011 08:16:21 +0000 Received: from BAY159-W20 ([65.54.190.199]) by bay0-omc4-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 15 Sep 2011 01:16:20 -0700 Message-ID: From: Me Myself and I To: , Subject: No gcj 64 bit compilation support? What the? Date: Thu, 15 Sep 2011 08:16:00 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2011-09/txt/msg00014.txt.bz2 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=3DTest -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? =20 =20 > This error means that your gcj compiler was built without support for > x86 64-bit mode. >=20 > 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 r= eally accurate? If not, why not? Where can I find simple instructions to build gcj to compile 64 bit optimised executable files? =20=09=09=20=09=20=20=20=09=09=20=20