LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 01-27-2010, 12:51 AM   #1
bvramesh
LQ Newbie
 
Registered: Jan 2010
Posts: 5

Rep: Reputation: 0
Question Target Change and re-compilation??


Hi,

Please help with a general question here.

We have a 32-bit SLES build server and we compile our 32-bit application on top of it. Our target is 32-bit SLES.

Now, if we want to change our target to 64-bit SLSE and keep the application 32-bit, do we need change the build server to 64-bit and recompile the application with some flags? OR can we use the 32-bit binaries compiled on 32-bit SLES build server?

We use g++ compiler. It would be great if any Linux Guru can give me the steps to be followed.

Thanks & Regards,
Ramesh.
 
Old 01-27-2010, 10:17 PM   #2
Elemecca
Member
 
Registered: Nov 2008
Location: San Francisco, CA
Distribution: Gentoo, CentOS
Posts: 71

Rep: Reputation: 22
Most 64-bit Linux systems are multilib, which means that they have both the 32- and 64-bit versions of all of the system libraries installed. A multilib system can run both 32- and 64-bit binaries equally well.

Short answer: you don't have to do anything differently.
 
  


Reply



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
iptables: rule with RETURN target just after a rule with ACCEPT target Nerox Linux - Networking 6 09-04-2011 03:33 PM
Kernel compilation: Is it posiible to change built-in[] option to module<> ravime Linux - Kernel 4 07-30-2007 08:12 AM
Will rfs change when kernel image is built(for a target board) LN85 Linux - Kernel 3 07-04-2007 03:34 PM
KdeSvn target folder change DS1 Debian 0 08-21-2005 11:51 PM
Target? AxXium Slackware 15 07-16-2005 08:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:56 PM.

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