Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: rvsmith on November 09, 2017, 08:43:31 AM

Title: Request: WINE for CorePure64
Post by: rvsmith on November 09, 2017, 08:43:31 AM

Any chance of a 64-bit build of WINE for 8.x please?
Title: Re: Request: WINE for CorePure64
Post by: Juanito on November 09, 2017, 10:26:01 PM
I believe that the choices for wine are:

* 32-bit
* 32-bit/64-bit multi-lib (since there is no pure 64-bit version of windows)

..therefore you'd be unable to compile it with CorePure64.
Title: Re: Request: WINE for CorePure64
Post by: Juanito on November 10, 2017, 02:15:29 AM
In fact wine can be compiled 64-bit only - posted.

Note however:
Quote
64-bit Wine built without 32-bit support will not be able to run ANY 32-bit applications, which most Windows binaries are. Even many 64-bit programs still include 32-bit components!
Title: Re: Request: WINE for CorePure64
Post by: rvsmith on November 12, 2017, 06:21:06 AM

Ahhh, sorry, probably just my lack of understanding then. I am aware that most Windows stuff is still 32-bit, just dont know how WINE works on 64 bit Linux. Does that mean I can get WINE from the 32 bit TinyCore repo and run that? I assume that would also involve installing all the 32 bit dependencies for it. Might as well revert to 32-bit TCB in that case. Nothing wrong with that, I only moved to Pure64 back somewhere around TCB 6.0 because 32-bit didnt handle power properly on my new 64-bit hardware and it kept hibernating unrecoverably. Maybe TCB 8.x will be ok on it, worth a try

Thanks for doing that anyway, sorry if I wasted your time.
Title: Re: Request: WINE for CorePure64
Post by: Juanito on November 12, 2017, 07:25:19 AM
I tried to run itunes, which might reasonably be expected to be fully 64-bit, but it wouldn't install under wine - perhaps you would be better off running windows with the CorePure64 qemu extension?

Otherwise, it's not difficult to set up a dual Core/CorePure64 boot system so that you could boot Core to use the 32-bit wine extension and stick with CorePure64 for the rest?
Title: Re: Request: WINE for CorePure64
Post by: Juanito on November 12, 2017, 09:56:42 PM
Out of interest I attempted to install windows using the CorePure64 qemu extension.

I found an old windows7 32-bit dvd and used it to install in qemu:
Code: [Select]
$ tce-load -i qemu
$ sudo modprobe kvm-intel
$ qemu-img create -f qcow2 vdisk.img 4G
Formatting 'vdisk.img', fmt=qcow2 size=8589934592 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16
$ qemu-system-i386 -m 2G -enable-kvm -cdrom /dev/cdrom -boot d vdisk.img

[complains virtual disk size is too small - ignore]
[reboots several times on its own]

[shutdown when installation complete]

..then boot from the virtual disk, vdisk.img:
Code: [Select]
$ qemu-system-i386 -m 2G -enable-kvm -cdrom /dev/cdrom vdisk.img
The installation took about 15 minutes - for the first part of the installation the mouse cursor would not work inside the qemu window so <tab> and <enter> were required to select various options - and everything seems to work as expected.
Title: Re: Request: WINE for CorePure64
Post by: rvsmith on November 20, 2017, 05:13:05 AM

Thanks Juanito for looking in so much detail. Interesting trial of Win7 in qemu but seems a bit of an overhead. The only thing I want to run is PaloAlto GlobalProtect VPN client. Tried on Windows and its horrendous, a 2 tier client+service process but it does have a 64bit version so I'll try it out on 64bit WINE. Realised I cant return to 32 bit because Skype is going 64bit only and I am obliged to have that.

Not had chance to try yet but wanted to say thanks anyway.
Title: Re: Request: WINE for CorePure64
Post by: rvsmith on December 16, 2017, 02:40:05 AM

Not really relevant but I solved my requirement without WINE thanks to the marvellous efforts here: https://github.com/dlenski/openconnect which is a fork of openconnect for Palo Alto GlobalProtect (openconnect-gp). Just thought it was worth getting that in a post so it shows up for anyone searching for a solution in future.