Page 1 of 1

Run 64bit app on 32bit system

Posted: 08 Oct 2019, 19:54
by tom2238
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?

Run 64bit app on 32bit system

Posted: 09 Oct 2019, 11:00
by babam
Use the application in the AppImage format.

Run 64bit app on 32bit system

Posted: 09 Oct 2019, 20:24
by tom2238
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).

Run 64bit app on 32bit system

Posted: 16 Oct 2019, 15:22
by tom2238
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

Run 64bit app on 32bit system

Posted: 16 Oct 2019, 15:40
by Ed_P
Wow!! :o Thanks for the updates tom2238.