Run 64bit app on 32bit system

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
tom2238
White ninja
White ninja
Posts: 14
Joined: 15 Nov 2018, 14:52
Distribution: Porteus MATE v3.2.2 i586

Run 64bit app on 32bit system

Post#1 by tom2238 » 08 Oct 2019, 19:54

Hi all.
I would like to run some 64bit applications (eg. Matlab) with 64bit kernel, but with 32bit userspace. On some forums I was read it is possible. Can Porteus do it? Can I copy libraries from 001-core.xzm (64bit) to 32bit system?

babam
Black ninja
Black ninja
Posts: 64
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 3.2.2
Location: Rainy city

Run 64bit app on 32bit system

Post#2 by babam » 09 Oct 2019, 11:00

Use the application in the AppImage format.
Sorry, my English is bad.

tom2238
White ninja
White ninja
Posts: 14
Joined: 15 Nov 2018, 14:52
Distribution: Porteus MATE v3.2.2 i586

Run 64bit app on 32bit system

Post#3 by tom2238 » 09 Oct 2019, 20:24

I tried this:
- copy /usr/lib64/ and /lib64/ from 001-core.xzm (64bit)
copy /usr/lib64/ and /lib64/ from 002-xorg.xzm (64bit)
to folder and create module from it.
- activate module (only 64bit libraries) in 32 bit userspace
- modify /etc/ld.so.conf

Code: Select all

/lib
/lib/i386-linux-gnu
/usr/lib
/usr/local/lib
/usr/i486-slackware-linux/lib
/usr/lib/i386-linux-gnu/
/lib64
/usr/lib64
/usr/local/lib64
/usr/x86_64-slackware-linux/lib64
- Try run Matlab, and ...
- It is look like good (no crash).

tom2238
White ninja
White ninja
Posts: 14
Joined: 15 Nov 2018, 14:52
Distribution: Porteus MATE v3.2.2 i586

Run 64bit app on 32bit system

Post#4 by tom2238 » 16 Oct 2019, 15:22

Hi. XIlinx ISE 14.7 running good to. Module with libraries: porteus_3.2.2-multilib_amd64.xzm https://drive.google.com/file/d/14k1Wok ... sp=sharing

User avatar
Ed_P
Contributor
Contributor
Posts: 5127
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 Cinnamon 64-bit ISO
Location: Western NY, USA

Run 64bit app on 32bit system

Post#5 by Ed_P » 16 Oct 2019, 15:40

Wow!! :o Thanks for the updates tom2238.
Ed

Post Reply