C++ compilers on Linux supporting 64bit architecture?
matthew.flaschen at gatech.edu
Sat Sep 1 10:44:58 UTC 2007
Bo Berglund wrote:
> I am new to Linux, but I am invsetigating a performance issue in a big
> tomography program developed for Windows.
> We have made a command line version of this and compiled for 64 bit
> architecture on Win X64 to evaluate performance improvements.
> The compilation was done in WinXP (32 bit) using MS VisualStudio 2005
> but targeting X64.
> The questions now are:
> 1) Is it possible to cross-compile on Linux 32 bit to produce an
> executable for the 64bit architecture Linux as well as 32 bit?
Yes. You'd use g++ (gcc.gnu.org)
> 3) The program is written in C++, would there be big porting issues
> moving it from Windows to Linux, code-wise?
It's not a question of language. It's a question of libraries. What
does the program depend on?
More information about the users