Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2006 16:58:29 +1000
From:      Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
To:        Scot Hetzel <swhetzel@gmail.com>
Cc:        freebsd-amd64@FreeBSD.org
Subject:   Re: amd64/104311: ports/wine should be installable on amd64
Message-ID:  <20061012065829.GA49071@duncan.reilly.home>
In-Reply-To: <200610120630.k9C6UJdK057840@freefall.freebsd.org>
References:  <200610120630.k9C6UJdK057840@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 12, 2006 at 06:30:19AM +0000, Scot Hetzel wrote:
>  The technical problem is that to build wine under amd64, you need to
>  be able to build 32bit libraries for all of wine's dependant ports.
>  
>  You can make wine run on amd64, but you must first build it on i386.
>  Then copy it to your amd64 system, including all of the library
>  dependancies (untested).

That's what I thought, although I haven't needed Wine for so
long that I haven't tried it, yet.

>  Wine64 (the 64bit version of wine) will not build on FreeBSD/amd64 due
>  to it needs someone to write the code to save/restore the cpu
>  registers.  Wine64 will only run 64bit windows applications, you won't
>  be able to run 32bit windows applications on wine64.

Not very interesting, then :-)

>  If wine is important to you, then you have 3 choices:
>  
>  1. submit patches to create the lib32-* library ports and the
>  necessary patches to Mk/bsd.ports.mk and emulators/wine to allow it to
>  build on the amd64 architecture.
>  
>  2. Set your system to dual boot FreeBSD/amd64 and FreeBSD/i386.
>  
>  3. Reinstall your system with FreeBSD/i386 only.

4. Set up a FreeBSD/i386 build environment inside a qemu (or
similar) virtual session.

5. Build it and make a package on another (i386) pc.

6.(?) There seems to have been some discussion about doing
Linux-i386 builds within the linuxulator.  Emulating windows on
a linux emulation isn't such a stretch :-)

[Personally, I think that option 1 going to be very useful and
quite widely applicable, and therefore bound to happen sooner or
later.  The win32 binary video codec afficianados will probably
get there first...]

Cheers,

-- 
Andrew



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