Subject: toolchain/15746: i386 installboot not cross build friendly
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/27/2002 10:45:04
>Number:         15746
>Category:       toolchain
>Synopsis:       i386 installboot not cross build friendly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 26 15:46:00 PST 2002
>Originator:     Luke Mewburn
>Release:        NetBSD 1.5ZA
System: NetBSD 1.5ZA NetBSD 1.5ZA (ARGO) #0: Tue Jan 22 11:21:31 EST 2002 lukem@hippolyte:/var/scratch/obj.i386/sys/ARGO i386
Architecture: i386
Machine: i386
	The i386 release uses $DESTDIR/usr/mdec/installboot to install
	bootblocks on the boot floppies, which is an i386 binary and
	therefore not cross-build friendly.
	Todd asked me to submit a PR for this so we wouldn't forget.

	Try to cross-build an i386 release from another platform.

	Short term: make it a host tool.

	Long term:
	- fix the i386 boot blocks to work a la the alpha's; don't
	  hard-code in the blocks of /boot; instead search for /boot
	  in the file system.
	- work on an MI installboot framework