From owner-freebsd-amd64@FreeBSD.ORG Sun Aug 14 20:30:26 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0886116A41F for ; Sun, 14 Aug 2005 20:30:26 +0000 (GMT) (envelope-from ohartman@mail.uni-mainz.de) Received: from mailgate1.zdv.Uni-Mainz.DE (mailgate1.zdv.Uni-Mainz.DE [134.93.178.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D03143D46 for ; Sun, 14 Aug 2005 20:30:24 +0000 (GMT) (envelope-from ohartman@mail.uni-mainz.de) Received: from [217.185.89.14] (manz-d9b9590e.pool.mediaWays.net [217.185.89.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailgate1.zdv.Uni-Mainz.DE (Postfix) with ESMTP id F329E30005B0 for ; Sun, 14 Aug 2005 22:30:22 +0200 (CEST) Message-ID: <42FFA9D8.7010504@mail.uni-mainz.de> Date: Sun, 14 Aug 2005 22:30:16 +0200 From: "O. Hartmann" Organization: Institut =?ISO-8859-1?Q?f=FCr_Geophysik?= User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050724) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at uni-mainz.de Subject: gcc compiler option -m64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Aug 2005 20:30:26 -0000 Hello. To make ist short: On my box (Athlon64 based machine) I run a FBSD 6.0Beta2 with no 32Bit support and I hope (but do not exactly know) the machine is 64Bit only that way without any 32Bit compatibilty. I see in some compiler hints this undocumented '-m32' or '-m64' option of gcc(1) (undocumented that way as I can not find it in the man pages) . On SPARC64 systems, the system's default gcc compiler implies '-m64'. Is this also true for AMD64 FreeBSD 6.X? My intention is to avoid compiling in some 32Bit libs by accident when compiling some C code for my scientific studies. thanks, Oliver