Subject: Re: LFS and big files
To: Steven M. Bellovin <firstname.lastname@example.org>
From: Geert Hendrickx <email@example.com>
Date: 01/06/2007 11:15:18
On Sat, Jan 06, 2007 at 11:12:42AM +0100, Geert Hendrickx wrote:
> On Sat, Jan 06, 2007 at 09:51:47AM +0000, David Laight wrote:
> > Surely you need to compile it for i386 32bit code - since it is a standalone
> > program. This would have to be a cross-compile on a system running netbsd
> > amd64.
> The Makefile adds -m32 -march=i486, so a 32-bit binary is built. It compiled
> without warnings on my amd64 box (after commenting out the ONLY_FOR_PLATFORM
> line). file(1) says it's an "ELF 32-bit LSB executable, Intel 80386, version
> 1 (SYSV), statically linked, stripped". I haven't tried booting it though,
> since this is a remote server.
OTOH, memtest86 fails to build -- it adds -m32 to some gcc command lines but
not all, so the link step fails.