Date: Fri, 30 Jan 2004 13:43:55 +0100 (CET) From: Harti Brandt <brandt@fokus.fraunhofer.de> To: Simon Coggins <simon@uow.edu.au> Cc: freebsd-sparc64@freebsd.org Subject: Re: Question about cross compiling sparc64 on i386 Message-ID: <20040130134041.L764@beagle.fokus.fraunhofer.de> In-Reply-To: <20040130123606.GB36245@uow.edu.au> References: <20040130123606.GB36245@uow.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Jan 2004, Simon Coggins wrote: SC>Does anyone have a how-to or quick instructions on how to go about SC>cross compiling sparc64 world/kernel on i386. I assumed it would be as SC>easy as cd /usr/src && make TARGET_ARCH=sparc64 ... SC> SC>Once it finished the installkernel on the ultra 5 didn't work becuase SC>it couldn't find some modules it was looking to install. And SC>installworld failed because it didn't build the tools to install (ala SC>install binary). SC> SC>So if someone can point me in the right direction that would be good! I did MAKEOBJDIRPREFIX=/usr/obj/sparc TARGET=sparc64 TARGET_ARCH=sparc64 make __MAKE_CONF=/dev/null makeworld MAKEOBJDIRPREFIX=/usr/obj/sparc TARGET=sparc64 TARGET_ARCH=sparc64 make __MAKE_CONF=/dev/null installworld DESTDIR=/usr/ultra same for buildkernel and installkernel to make a diskless boot world for my ULTRA1. This seems to work, except, that the resulting world has some problems like /bin/ls dumping core. I don't know whether this was a pilot error or there is something wrong with cross compilation harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private brandt@fokus.fraunhofer.de, harti@freebsd.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040130134041.L764>