From owner-freebsd-alpha Sun Sep 5 19:22:52 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id C295E15799 for ; Sun, 5 Sep 1999 19:22:42 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id UAA33020; Sun, 5 Sep 1999 20:21:56 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA01375; Sun, 5 Sep 1999 20:21:03 -0600 (MDT) Message-Id: <199909060221.UAA01375@harmony.village.org> To: Michael Kennett Subject: Re: Changes to binutils (--target=alpha-freebsd) Cc: alpha@FreeBSD.ORG In-reply-to: Your message of "Sat, 04 Sep 1999 17:42:52 +0800." <199909040942.RAA26591@laurasia.com.au> References: <199909040942.RAA26591@laurasia.com.au> Date: Sun, 05 Sep 1999 20:21:02 -0600 From: Warner Losh Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <199909040942.RAA26591@laurasia.com.au> Michael Kennett writes: : It is the file mkstemp.o. I've added it to the Makefile /usr/src/gnu/usr.bin/ : cc/cc_drv/Makefile (in the line SRCS). I've never needed to do this. I think that you must have an old system... We went through this several months ago. I only intend to support cross compiling on a system that is installed from a -current system that matches what you are cross compiling. That is if you haven't done a make world before trying to make a cross world, then all bets are off. : Hidden in the bowels of the FreeBSD source tree (/usr/src/gnu/usr.bin/binutils/ : libbfd/alpha) is the file 'bfd.h', which configures the characteristics of the : host architecture. In this file is the line : : #define BFD_HOST_64BIT_LONG 1 : : i.e. It is saying that a (native) alpha compiler has 64-bit registers. By : changing this line to : : #define BFD_HOST_64BIT_LONG 0 : : the cross-compilation from the x86 architecture passes binutils without any : warnings. This needs to be fixed so that the right things happens. I suspect that this is due to mixing the HOST and the TARGET variables in the same file... Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message