From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21315 invoked by alias); 6 Dec 2001 14:57:08 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 21278 invoked from network); 6 Dec 2001 14:57:07 -0000 Received: from unknown (HELO gemma.TechFak.Uni-Bielefeld.DE) (129.70.136.103) by sources.redhat.com with SMTP; 6 Dec 2001 14:57:07 -0000 Received: from xayide.TechFak.Uni-Bielefeld.DE.TechFak.Uni-Bielefeld.DE (xayide.TechFak.Uni-Bielefeld.DE [129.70.137.35]) by gemma.TechFak.Uni-Bielefeld.DE (8.9.1/8.9.1/TechFak/pk+ro20010720) with ESMTP id PAA27669; Thu, 6 Dec 2001 15:57:05 +0100 (MET) Received: by xayide.TechFak.Uni-Bielefeld.DE.TechFak.Uni-Bielefeld.DE (8.11.4+Sun/pk19971205) id fB6Ev4J02130; Thu, 6 Dec 2001 15:57:04 +0100 (MET) To: yjkim@SPring8.or.jp Cc: gcc-help@gcc.gnu.org, gcc@gcc.gnu.org Subject: Re: How to use SPARC m64 option of gcc-3.0.2 References: <20011206.AAA1007648468@postech.ac.kr> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Rainer Orth Date: Thu, 06 Dec 2001 06:58:00 -0000 In-Reply-To: "Yujong Kim"'s message of "Thu, 6 Dec 2001 23:33:16 +0900" Message-ID: X-Mailer: Gnus v5.6.44/Emacs 19.34 X-SW-Source: 2001-12/txt/msg00281.txt.bz2 "Yujong Kim" writes: > Please, would tell me the way how I can use -m64 option to compile my code with 64-bit ? > May I reinstall the gcc-3.0.2 with other configure option to use -m64 option in my machine ? GCC 3.0.x doesn't support 64-bit code on Solaris 7/8. The installation manual states: Starting with Solaris 7, the operating system is capable of executing 64-bit SPARC V9 binaries. GCC 3.0 doesn't properly support this yet. Although some patches or recipes to enable this support have been posted to various newsgroups and mailing lists, we recommend against using them, since the compiler may either crash or, worse, silently generate bad code. If you really need this capability now, you might try a CVS version of GCC 3.1, which will fully support this. If all you want is code tuned for the UltraSPARC CPU, you should try the @option{-mtune=ultrasparc} option instead, which should be safe from those bugs and produce code that, unlike full 64-bit code, can still run on non-UltraSPARC machines. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Faculty of Technology, Bielefeld University Email: ro@TechFak.Uni-Bielefeld.DE