Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Aug 2008 15:58:50 -0400
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        Jim <stapleton.41@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ATi & Intel graphics
Message-ID:  <8cb6106e0808131258i326b0f9fx436a76e165f8c023@mail.gmail.com>
In-Reply-To: <80f4f2b20808131245h2ceb17abt1671ef36c35f9996@mail.gmail.com>
References:  <80f4f2b20808130917k2ddc8a3aj54edd9fe79c83788@mail.gmail.com> <200808131406.05129.lists@jnielsen.net> <80f4f2b20808131120t7a1245d8t4b01506c0f0818ba@mail.gmail.com> <20080813191640.GA11361@slackbox.xs4all.nl> <539c60b90808131225u156aa566id7df0b4ef68f638e@mail.gmail.com> <80f4f2b20808131245h2ceb17abt1671ef36c35f9996@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Jail. I suspect I could build the base system plus X and copy
> everything over to a jailed dir. Once there, I could set -m32 in the
> CFLAGS and CXXFLAGS of the system make.conf. Build WINE in the jail,
> add a /usr/local... bin32, lib32 and libexec32 to the main (non-jail)
> part of the OS, and copy everything there. Then update the path and
> libpath for my system... OK, not simple, but it'll be an interesting
> experiment.

I tried this a while ago with a chroot. I installed 7.0-RELEASE/i386
there, and built ports inside the chroot. You need to also do a few
things to trick things like libtool (and other auto* tools) that your
arch is i386 and not amd64. From memory, I think you need to:

env UNAME_m=i386 make ...

For what it's worth, I got wine (and all depends) built, but it did
not work. It is likely I made a mistake along the way, of course. I
believe the resulting binary was generating a SIGABRT.

Naturally, if you have success doing this, it might be worth
publishing the (excruciating) details.

Regards,
Josh



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