Date: Sat, 07 Feb 2004 17:06:01 +0900 (JST) From: Hiroki Sato <hrs@FreeBSD.org> To: john@goodleaf.net Cc: freebsd-sparc64@FreeBSD.org Subject: Re: new to sparc64--build problems Message-ID: <20040207.170601.35007207.hrs@eos.ocn.ne.jp> In-Reply-To: <54371.140.107.64.44.1075916714.squirrel@www.goodleaf.net> References: <54371.140.107.64.44.1075916714.squirrel@www.goodleaf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----Security_Multipart(Sat_Feb__7_17_06_01_2004_879)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "John Goodleaf" <john@goodleaf.net> 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)----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040207.170601.35007207.hrs>