Subject: Re: cross make release macppc->i386 fails
To: Christian Groessler <cpg@aladdin.de>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: current-users
Date: 06/10/2002 14:49:02
Yeah, i386 is not cross-build release buildable. It shouldn't be
too hard to write a i386 backend for MI installboot (usr.sbin/installboot),
using code from the old i386 MD one (sys/arch/i386/stand/installboot).

Jaromir

Christian Groessler wrote:
> Hi,
> 
> ./build.sh -m i386 -D /local/i386dest -R /local/i386rel
> 
> fails with 
> 
> all ===> i386/floppies/bootfloppy
> Copying /local/i386dest/usr/mdec/biosboot.sym to boot
> Copying /local/netbsdsrc-1.6/src/distrib/i386/floppies/kernel-ramdisk/obj.i386/netbsd.INSTALL.gz to netbsd
> Creating boot1.fs from: boot  netbsd
> PAX=/usr/local/tools/bin/nbpax sh /local/netbsdsrc-1.6/src/distrib/common/buildfloppies.sh  -i "/local/i386dest/usr/mdec/installboot -b 17 -f /local/i386dest/usr/mdec/biosboot.sym @IMAGE@"   -m 2 -s .fs  boot 2880 boot  netbsd
> Running instboot: /local/i386dest/usr/mdec/installboot -b 17 -f /local/i386dest/usr/mdec/biosboot.sym floppy.21574.tar
> /local/i386dest/usr/mdec/installboot: 1: Syntax error: "(" unexpected
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /local/netbsdsrc-1.6/src/distrib/i386/floppies/bootfloppy
> *** Error code 1
> 
> Stop.
> 
> 
> It's clear that it cannot work since
> 
> [power:~]$ file /local/i386dest/usr/mdec/installboot
> /local/i386dest/usr/mdec/installboot: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for NetBSD, statically linked, stripped
> 
> my powermac cannot execute i386 executables :-)
> 
> regards,
> chris
> 


-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-