Subject: Re: cross compile with Linux host fails with nbmake Illegal instruction
To: James Chacon <jmc@NetBSD.org>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 02/05/2005 23:29:52
On Sun, 6 Feb 2005, James Chacon wrote:
> On Sat, Feb 05, 2005 at 10:10:25PM -0800, Jeremy C. Reed wrote:
> > I am trying cross compiling of -current on a Linux host. I have
> > linux-kernel-headers-2.6.10, gcc3-c-3.3.4, gcc3-c++-3.3.4, bmake-20040220
> > (no gmake installed), binutils-22.214.171.124, and mk-files-20040214 installed.
> What kind of linux host? I have no issues with standard redhat builds
> and I understand debian also works well.
I have been running my own Linux distributions built from scratch -- all
components built via pkgsrc infrastructure for a couple years now. You may
call it "PkgLinux" :)
> You'll need to fully cross build, but you shouldn't need to set anything
> provided a compiler is in your path.
What do I need to do to "fully cross build"? Just add a "-m i386"?
I tried that and had same failure.
(Please CC me on replies).
Jeremy C. Reed
BSD News, BSD tutorials, BSD links