Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Feb 2010 13:53:42 +0800
From:      "Eric L. Chen" <eric@bsded.com>
To:        Mars G Miro <spry@anarchy.in.the.ph>
Cc:        freebsd-hackers@freebsd.org, Andrew Thompson <thompsa@freebsd.org>
Subject:   Re: Cross-building amd64->i386 fails at RESCUE
Message-ID:  <1265608422.50235.5.camel@localhost>
In-Reply-To: <f12f408a1002060811hc5d8e5eh3a606f0686b29b2b@mail.gmail.com>
References:  <f12f408a1001121735p684e9d5di63fa223c2d100f50@mail.gmail.com> <20100113022149.GF63408@citylink.fud.org.nz> <f12f408a1001121852j69b93ce1y6e9ba07d1f3c0426@mail.gmail.com> <201001130851.42443.jhb@freebsd.org> <f12f408a1002060811hc5d8e5eh3a606f0686b29b2b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2010-02-07 at 00:11 +0800, Mars G Miro wrote:
> On Wed, Jan 13, 2010 at 9:51 PM, John Baldwin <jhb@freebsd.org> wrote:
> > On Tuesday 12 January 2010 9:52:02 pm Mars G Miro wrote:
> >> On Wed, Jan 13, 2010 at 10:21 AM, Andrew Thompson <thompsa@freebsd.org>
> > wrote:
> >> > On Wed, Jan 13, 2010 at 09:35:53AM +0800, Mars G Miro wrote:
> >> >> Hi List!
> >> >>
> >> >>     Has anyone successfully cross-built amd64->i386 in 8.0? I tried
> >> >> but got these:
> >> >> http://pastebin.com/f1cafe40d .
> >> >
> >> > All the time. You didnt mention how you are doing the build, I use
> >> >
> >> >  % make buildworld buildkernel TARGET=i386
> >> >
> >>
> >> I did:
> >>
> >> setenv  MAKEOBJDIRPREFIX /usr/obj-i386
> >> setenv  TARGET  i386
> >> setenv  TARGET_ARCH     i386
> >>
> >> then 'make buildworld' in /usr/src
> >
> > Can you verify that 'make buildworld TARGET=i386' works?  If so, can you
> > try just setting MAKEOBJDIRPREFIX via setenv (or setting it as an argument to
> > make)?
> >
>From http://wiki.freebsd.org/Wine
Set these environment variables may help!
# setenv MACHINE i386
# setenv UNAME_p i386
# setenv UNAME_m i386

Eric







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1265608422.50235.5.camel>