Subject: Re: copy of toolchain used for netbsd-sparc64?
To: Alfred Perlstein <firstname.lastname@example.org>
From: Eduardo E. Horvath <email@example.com>
Date: 03/06/1999 12:59:35
On Sat, 6 Mar 1999, Alfred Perlstein wrote:
> The dist notes for the sparc64 port of netbsd say that
> the compiler doesn't generate proper executables, does
> anyone have a binary/or patched source (to compile)
> available on ftp/www?
The 32-bit kernel is capable of running NetBSD/sparc a.out executables (in
addition to 32-bit ELF, SunOS, SVR4/Solaris, etc. like the standard
NetBSD/sparc kernel). The standard NetBSD/sparc toolchain is capable of
generating these sorts of executables.
Generating kernels is a completely different matter. What you need to do
is use the NetBSD/sparc toolchain to build a gcc/egcs/binutils toolchain
that can generate sparcv9a (sparc64 in GNU-speak) which are pure 64-bit
binaries for the 64-bit kernel or sparcv8plusa which are 32-bit with
UltraSPARC extensions for the 32-bit kernel.
The tools in the -current tree seem to be able to generate proper 64-bit
executables except that they are calling __start instead of _start (you
need to change crt0.s).
Eduardo Horvath firstname.lastname@example.org
"I need to find a pithy new quote." -- me