[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proposal: Let's drop i386

On Sun, 13 May 2018 18:57:46 +0100, Colin Watson wrote:
>On Thu, May 10, 2018 at 04:25:25PM -0400, Thomas Ward wrote:
>> However, killing i386 support globally could introduce issues,
>> including but not limited to certain upstream softwares having to go
>> away entirely, due to the interdependency or issues with how certain
>> apps work (read; Wine, 32-bit support, 64-bit support being flaky,
>> and Windows apps being general pains in that they work on 32bit but
>> not always on 64-bit).  
>Is there any possibility of building this kind of thing in biarch style
>(i.e. on the amd64 architecture, but with -m32 or similar)?

Yes, it is.

Since the Linux version of isn't usable on my Arch
Linux install, I installed the the Windows version in 32bit
wine(-staging) running on an 64bit Arch install.

[rocketmouse at archlinux tmp]$ grep build\( -A27 wine-staging/trunk/PKGBUILD
build() {
  cd "$srcdir"

  msg2 "Building Wine-64..."

  cd "$srcdir/$pkgname-64-build"
  ../$pkgname/configure \
    --prefix=/usr \
    --libdir=/usr/lib \
    --with-x \
    --with-gstreamer \
    --enable-win64 \


  msg2 "Building Wine-32..."

  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
  cd "$srcdir/$pkgname-32-build"
  ../$pkgname/configure \
    --prefix=/usr \
    --with-x \
    --with-gstreamer \
    --with-xattr \
    --libdir=/usr/lib32 \

[rocketmouse at archlinux tmp]$ grep package\( -A13 wine-staging/trunk/PKGBUILD
package() {
  msg2 "Packaging Wine-32..."
  cd "$srcdir/$pkgname-32-build"

  make prefix="$pkgdir/usr" \
    libdir="$pkgdir/usr/lib32" \
    dlldir="$pkgdir/usr/lib32/wine" install

  msg2 "Packaging Wine-64..."
  cd "$srcdir/$pkgname-64-build"
  make prefix="$pkgdir/usr" \
    libdir="$pkgdir/usr/lib" \
    dlldir="$pkgdir/usr/lib/wine" install

[rocketmouse at archlinux tmp]$ cat /usr/local/bin/gr-55_floorboard_wine 
wine '/home/rocketmouse/.wine/drive_c/Program Files (x86)/GR-55FloorBoard/GR-55FloorBoard.exe' &
[rocketmouse at archlinux tmp]$ uname -m
[rocketmouse at archlinux tmp]$ ls -hAl /usr/bin/wine /usr/bin/wine64 
-rwxr-xr-x 1 root root 9.6K Apr 29 19:19 /usr/bin/wine
-rwxr-xr-x 1 root root  11K Apr 29 19:19 /usr/bin/wine64
pacman -Q linux{,-rt{,-pussytoes,-securityink,-cornflower}}|cut -d\  -f2