Subject: Re: ELF loader question
To: Kyle Unice <kyle@midnighttech.com>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 04/09/2003 08:55:43
On Wednesday, April 9, 2003, at 06:05 AM, Kyle Unice wrote:
> So one cannot download gcc and binutils and follow the instructions for
> building the cross-compiling tools then run use them to build NetBSD?
Sure you can, but xscale-elf is not targeted to NetBSD, so you can't
use that target. You must use arm-netbsdelf.
NetBSD 1.6 has complete cross-build support, and includes a
cross-hostable toolchain. You don't *need* to download gcc and
binutils from the FSF to cross-build it.
You can do it, however, but you're going to have to manually deal with
the libstdc++/libgcc/crt* differences from current GCC releases.
FWIW, GCC 3.2.x does not support the ABI used by NetBSD/arm. GCC 3.3
will, but 3.3 is not released yet.
-- Jason R. Thorpe <thorpej@wasabisystems.com>