Query regarding compilation in 64-bit mode on a 32-bit RHAS 3.0 using 32-bit g++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
  I wish to build some code on a 32-bit RHAS 3.0 m/c
using g++. But the .so files and .exe to be produced
as a result of the build procedure, should be all in
64-bit i.e. I want to build in 64-bit mode on a 32-bit
m/c using 32-bit g++. Is it possible? 

I have seen the compilation options for g++ and need
to use ?-m64? bit compilation options for compiling in
64-bit mode. But there are few system specific
libraries like libpthread.so, librt.so.1 etc. to which
my code will link and these libraries are 32-bit
libraries on my 32-bit RHAS 3.0. And when I will
compile my code in 64-bit mode,it won?t be able to
link with these system libraries as these are in
32-bit.

Please suggest me, what all additional packages I need
to install on my 32-bit RHAS 3.0, so that I would be
able to build the code in 64-bit mode.


Thanks & Regards,
Yashpal

 

 



 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux