LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Target Change and re-compilation?? (https://www.linuxquestions.org/questions/linux-software-2/target-change-and-re-compilation-785001/)

bvramesh 01-27-2010 12:51 AM

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.

Elemecca 01-27-2010 10:17 PM

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.


All times are GMT -5. The time now is 08:45 PM.