From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8795 invoked by alias); 6 Dec 2001 14:25:19 -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 8552 invoked from network); 6 Dec 2001 14:24:45 -0000 Received: from unknown (HELO webmail.postech.ac.kr) (141.223.1.3) by sources.redhat.com with SMTP; 6 Dec 2001 14:24:45 -0000 Received: from webmail.postech.ac.kr (webmail.postech.ac.kr [141.223.1.3]) by webmail.postech.ac.kr (8.8.6 (PHNE_17190)/8.8.6) with SMTP id XAA09596; Thu, 6 Dec 2001 23:33:16 +0900 (KST) Message-Id: <20011206.AAA1007648468@postech.ac.kr> From: "Yujong Kim" To: gcc-help@gcc.gnu.org Cc: gcc@gcc.gnu.org Reply-To: yjkim@SPring8.or.jp Subject: How to use SPARC m64 option of gcc-3.0.2 Date: Thu, 06 Dec 2001 06:29:00 -0000 MIME-Version: 1.0 X-Priority: 3 X-Mailer: @MESSAGE-5.02.0830.3.2001.0217 (HP-UX B.11.00) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SW-Source: 2001-12/txt/msg00279.txt.bz2 Dear Sir, First, thank you for your efforts. I am a system administrator of Sun Blade 1000 (Ultra-III) which I have installed the gcc-3.0.2 According to man command, the gcc have following option for sparc machine. SPARC Option -mcpu=cpu-type -mtune=cpu-type -mcmodel=code-model -m32 -m64 -mapp-regs -mbroken-saverestore -mcypress -mepilogue -mfaster-structs -mflat -mfpu -mhard-float -mhard-quad-float -mimpure-text -mlive-g0 -mno-app- regs -mno-epilogue -mno-faster-structs -mno-flat -mno-fpu -mno-impure-text -mno-stack-bias -mno- unaligned-doubles -msoft-float -msoft-quad-float -msparclite -mstack-bias -msupersparc -munaligned- doubles -mv8 I hope to compile my c-code with 64-bit option. Can gcc-3.0.2 support the 64-bit compiling under Sun Solaris-8 (Ultra Sparc-III machine) ? Though I have installed gcc-3.0.2, I can not use -m64 option in my computer. Following error is generated when I use -m64 option. gcc -m64 -o sample sample.c -lm cc1: -m64 is not supported by this configuration 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 ? Thank you for your kindness in advance. Sincerely yours, Yujong Kim