Subject: RE: Cross compiling
To: Tim Underwood <TimU@hightouchinc.com>
From: Noriyuki Soda <soda@sra.co.jp>
List: port-hpcmips
Date: 08/20/2004 22:18:20
>>>>> On Fri, 20 Aug 2004 07:38:43 -0500,
"Tim Underwood" <TimU@hightouchinc.com> said:
> 2. Untar all netbsd tarfiles at a "root" directory (i.e. same location)
> 3. use chroot to make that directory your root.
> Any reason why that won't work?
It doesn't work at all, because Linux doesn't support NetBSD system
calls. (For example, try to compare /usr/include/sys/syscalls on
NetBSD with /usr/include/asm/unistd.h on Linux. There are lots of
differences in addition to numbering, too.)
On the other hand, NetBSD/i386 does support Linux/i386 system calls,
so it can run Linux native binaries... :)
--
soda