LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2014, 04:35 PM   #1
Xerxeslins
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Rep: Reputation: 0
Lightbulb Is possible to enable Multilib on Slackware 32?


Hello, is possible to enable multilib Slackware 32-bit? I know it would be better to install Slackware 64 and then enable the multilib. My question is just a curiosity. If this is possible, what steps needed to do this in addition to recompile 64-bit kernel? Thank you.

Last edited by Xerxeslins; 08-22-2014 at 04:59 PM.
 
Old 08-22-2014, 04:39 PM   #2
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
No.
 
Old 08-22-2014, 04:51 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
Technically, that will be possible if one makes a work similar to the one done by Alien Bob but the other way round, see this page.

But if making a Slackware 64 multilib allows to run programs provided as 32 bit binaries only, on the other hand I am not aware of programs provided as 64 bit binaries only, so I fail to see what could be the benefit of doing that hard work.
 
Old 08-22-2014, 05:36 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by Didier Spaier View Post
Technically, that will be possible if one makes a work similar to the one done by Alien Bob but the other way round, see this page.
No, I don't think that is possible. The x86_64 architecture provides backwards compatibility with x86 but the reverse isn't true...if you have 32-bit kernel/userland (the CPU is running in legacy x86 mode), then you're confined to 32-bit. And of course even if it were possible, there would be no advantage to doing so...
 
1 members found this post helpful.
Old 08-22-2014, 05:41 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,077

Rep: Reputation: Disabled
@T3slider: I stand corrected, thanks for the explanation.
 
Old 08-22-2014, 05:41 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Didier Spaier View Post
on the other hand I am not aware of programs provided as 64 bit binaries only,
I know at least of XCOM: Enemy Unknown. It has no 32 bit version and won't get one.

Anyways,
Quote:
Originally Posted by T3slider
No, I don't think that is possible. The x86_64 architecture provides backwards compatibility with x86 but the reverse isn't true...if you have 32-bit kernel/userland (the CPU is running in legacy x86 mode), then you're confined to 32-bit.
If you start with replacing the kernel with a 64 bit kernel this is indeed possible, a 64 bit kernel will run the 32 bit userland just fine, except possibly for some proprietary drivers.

Quote:
And of course even if it were possible, there would be no advantage to doing so...
This. I cannot see why one would do this, except of course for fun and educational value.
 
1 members found this post helpful.
Old 08-22-2014, 05:53 PM   #7
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,609

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What're you trying to do that you'd need a mostly 32-bit system with some support for 64-bit applications? What you're wanting to do might give options for better advice.
 
Old 08-23-2014, 10:06 PM   #8
Xerxeslins
LQ Newbie
 
Registered: Feb 2009
Posts: 16

Original Poster
Rep: Reputation: 0
Smile

I read in a forum, saying that a user wants to do this, and was full of doubts. But I think it's a task that borders on the impossible. I was just curious. Not intend to do that. Thank you!
 
  


Reply

Tags
32-bit, kernel compile, multilib, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multilib Slackware fatalerror0x00 Slackware 5 11-11-2012 06:41 PM
Slackware multilib tuxbg Slackware 7 10-02-2012 07:50 AM
Slackware current multilib diwljina Slackware 6 07-21-2012 08:31 PM
slackware-current 64 multilib portia Slackware 9 12-28-2009 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration