WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Running 32-bit app under 64-bit linux  (Read 2288 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Running 32-bit app under 64-bit linux
« on: April 24, 2019, 02:00:38 PM »

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Running 32-bit app under 64-bit linux
« Reply #1 on: April 24, 2019, 02:14:53 PM »
In a fat distro this is known as multilib. In TC you run the 32 or 64-bit version depending on the apps you want to run, if they aren't already available for both. If you want to recompile all the libraries to support multilib I suggest you look at the Slackware multilib package http://www.slackware.com/~alien/multilib/. It isn't part of the core distro, it's an additional install after the base install.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: Running 32-bit app under 64-bit linux
« Reply #2 on: April 24, 2019, 03:58:43 PM »
Hi xor
You can run Core64 which is 32-bit userspace but with a 64-bit kernel. While individual applications would still be limited
to 4 Gigabytes, the kernel would be able to access and allocate all of your computers RAM. To make  core64.gz:
Code: [Select]
cat rootfs.gz modules64.gz > core64.gzIn your bootloader, replace  vmlinuz  with  vmlinuz64  and  core.gz  with  core64.gz. You will likely need to run  Xorg  since there
is no 64 bit version of Xvesa. If an extension name contains a  kernel version number  you will need to use the 64 bit version.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Running 32-bit app under 64-bit linux
« Reply #3 on: April 24, 2019, 04:24:06 PM »
Even with a 64-bit kernel you can't run 32 and 64-bit apps on the same system at the same time in TC, which I think is what the OP was suggesting.