From owner-freebsd-sparc64@FreeBSD.ORG Sat Feb 7 00:39:17 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C12E16A4CE for ; Sat, 7 Feb 2004 00:39:17 -0800 (PST) Received: from smtp.eos.ocn.ne.jp (eos.ocn.ne.jp [211.6.83.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05C4543D31 for ; Sat, 7 Feb 2004 00:39:17 -0800 (PST) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p37180-adsao12honb4-acca.tokyo.ocn.ne.jp [219.161.134.180]) by smtp.eos.ocn.ne.jp (Postfix) with ESMTP id C08992296; Sat, 7 Feb 2004 17:39:15 +0900 (JST) Received: from localhost (alph.allbsd.org [192.168.0.10]) by delta.allbsd.org (8.12.9p2/8.12.9) with ESMTP id i178d1A2088897; Sat, 7 Feb 2004 17:39:04 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 07 Feb 2004 17:06:01 +0900 (JST) Message-Id: <20040207.170601.35007207.hrs@eos.ocn.ne.jp> To: john@goodleaf.net From: Hiroki Sato In-Reply-To: <54371.140.107.64.44.1075916714.squirrel@www.goodleaf.net> References: <54371.140.107.64.44.1075916714.squirrel@www.goodleaf.net> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 4.0.62 on Emacs 21.3.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_Feb__7_17_06_01_2004_879)--" Content-Transfer-Encoding: 7bit cc: freebsd-sparc64@FreeBSD.org Subject: Re: new to sparc64--build problems X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 08:39:17 -0000 ----Security_Multipart(Sat_Feb__7_17_06_01_2004_879)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "John Goodleaf" wrote in <54371.140.107.64.44.1075916714.squirrel@www.goodleaf.net>: john> cc -O -pipe -mcpu=ultrasparc -I. -static -DGENERATOR_FILE john> -DTARGET_CPU_DEFAULT=TARGET_CPU_ultrasparc -DIN_GCC -DHAVE_CONFIG_H john> -DPREFIX=\"/usr\" john> -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools john> -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools john> -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc john> -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config john> -I/usr/obj/usr/src/sparc64/legacy/usr/include -c john> /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c john> In file included from hconfig.h:1, john> from /usr/src/contrib/gcc/gencheck.c:21: john> /usr/src/gnu/usr.bin/cc/cc_tools/auto-host.h:320:2: #error "I don't john> know what arch this is." john> *** Error code 1 john> john> Stop in /usr/src/gnu/usr.bin/cc/cc_tools. john> *** Error code 1 john> john> I've tried setting the __sparc64__ and defining environment john> variables like MACHINE_ARCH, but it just doesn't work. Is this john> covered somewhere in some documentation I've not seen? You do not need to define such variables by hand. In a buildworld log on my Ultra5, the line is as follows and the buildworld works fine: cc -O -pipe -I. -static -DGENERATOR_FILE \ -DTARGET_CPU_DEFAULT=TARGET_CPU_ultrasparc -DIN_GCC -DHAVE_CONFIG_H \ -DPREFIX=\"/usr\" -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \ -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools \ -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc \ -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config \ -I/usr/obj/usr/src/sparc64/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/gencheck.c -- | Hiroki SATO ----Security_Multipart(Sat_Feb__7_17_06_01_2004_879)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAJJxsTyzT2CeTzy0RAqQLAJ9mhVDupM5D321qbT+8p7FhJJPWeACgwPtI q0hY0QsSX8QLWEKbGU5jKgo= =mJfU -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Feb__7_17_06_01_2004_879)----