Subject: RE: ELF loader question
To: 'Jason Thorpe' <firstname.lastname@example.org>
From: Kyle Unice <email@example.com>
Date: 04/09/2003 07:05:39
Thanks for the reply.
So one cannot download gcc and binutils and follow the instructions for
building the cross-compiling tools then run use them to build NetBSD?
From: Jason Thorpe [mailto:firstname.lastname@example.org]=20
Sent: Tuesday, April 08, 2003 10:19 PM
To: Kyle Unice
Subject: Re: ELF loader question
On Tuesday, April 8, 2003, at 08:41 PM, Kyle Unice wrote:
> I built a cross compiler and linker for xscale ELF.=A0 I built the=20
> NetBSD source and linked the NetBSD 1.6 /sbin/init and=20
> /usr/libexec/ld.elf_so with the cross compiler.=A0 The problem is that =
> in when the OS is booting and check_exec() is called, the structure=20
> member epp->ep_entry is never set,=A0 so the sanity check at line 290 =
Don't use xscale-elf. Use arm-netbsdelf. You must use a toolchain=20
properly targeted to NetBSD.
If you want to enable the xscale optimizations in the compiler, all you=20
need to do is pass -mcpu=3Dxscale to arm--netbsdelf-gcc.
"build.sh" at the src toplevel should take care of building the=20
toolchain for you.
-- Jason R. Thorpe <email@example.com>