Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-12-2005, 09:29 AM   #1
LQ Newbie
Registered: Feb 2005
Distribution: Scientific Linux 4.4
Posts: 6

Rep: Reputation: 0
can amd64 + x86 coexist on the same set of partitions?


I want to compile some 32bit rpms on an amd64 machine.

I am not sure how to that while using a 64bit kernel - so a better option would be boot into a 32bit mode.

So can I use the same set of partitions to dual boot into a 64bit mode and into a 32 bit mode ?

On the other hand, if 32bit rpms can be built from src rpms on a 64bit OS then I might not need to put in two OS in the first place.

Can either of these be done?

Thanks in Advance,


Last edited by arshadmomen; 02-12-2005 at 09:32 AM.
Old 02-12-2005, 01:44 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
When you compile something from source, it will be built against the libraries and compiler available on your system. Portable (that is to say, written to work on multiple platforms) source code is not inherently 32 bit or 64 bit. So if you just want to compile something for your own machine, don't worry about it. However, if you want to compile something for 32 bit x86 machines on a x86_64 host, you'll need pass the -m32 switch to gcc, which will force it to build 32 bit binaries.
Old 02-13-2005, 09:46 AM   #3
LQ Newbie
Registered: Feb 2005
Distribution: Scientific Linux 4.4
Posts: 6

Original Poster
Rep: Reputation: 0

Let me bug you again - how do I impose the -m32 flag in the spec file for the rpms?

This might be a trivial question - I wish I knew the answer.

Thanks again,



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hard drive partitions not set up in fstab/mtab odyssey84 Linux - Newbie 6 10-18-2005 07:59 AM
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM
How do I set partitions? ANd install Linux? stickyrabbit Linux - Newbie 8 03-22-2005 05:35 AM
same installation CD of RedHat AS 3.0 for Intel x86 and AMD64? steven_leung Red Hat 1 01-08-2005 03:37 PM
how to set partitions? RIgimp75 Slackware 2 06-13-2003 12:50 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:43 AM.

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