Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 10:09:38 -0600
From:      Warner Losh <imp@village.org>
To:        Michael Kennett <mike@laurasia.com.au>
Cc:        alpha@freebsd.org
Subject:   Re: Changes to binutils (--target=alpha-freebsd) 
Message-ID:  <199909041609.KAA69243@harmony.village.org>
In-Reply-To: Your message of "Sat, 04 Sep 1999 17:42:52 %2B0800." <199909040942.RAA26591@laurasia.com.au> 
References:  <199909040942.RAA26591@laurasia.com.au>  

next in thread | previous in thread | raw e-mail | index | archive | help
Diffs?

In message <199909040942.RAA26591@laurasia.com.au> Michael Kennett writes:
: 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.

OK.  Should be a better way of doing that than editing the source.

: Note that I've cut gdb out of the build (no need to track down bugs
: :-). There could still be problems in the compile there.

Yes.  In the cross compile case, we shouldn't be building gdb here
anyway.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909041609.KAA69243>