Subject: Re: LFS and big files
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Geert Hendrickx <ghen@telenet.be>
List: current-users
Date: 01/06/2007 11:12:42
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.

	Geert