Results 1 to 2 of 2
Hi All,
Right now I am working on SUSE Linux.Here I already ported the source code to gcc from diab compiler by using cygwin environment on Microsoft Windows XP [Version ...
- 01-02-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 2
How to Port 32bit source code in compatible to 64bit OS
Hi All,
Right now I am working on SUSE Linux.Here I already ported the source code to gcc from diab compiler by using cygwin environment on Microsoft Windows XP [Version 5.1.2600]. Now the requirement for me is to port this code on Linux.Actually my need is to simulate the code on model(Simulator). we need to port it in compatible to 64bit. is it possible to port a 32 bit source code on GNU/linux(i686 machine processor) that will work for 64bit? I am beginner in linux!please help me.
thanks in advance
- 01-02-2007 #2
Originally Posted by syamprasad
It all depends on how the 32 bit code is written. ie how dependent is the code on the fact it is running in 32 bits. But these questions are really indipendent of the OS.
To wiether you can compile 64 bit code in a 32 bit OS. I'd say that depends on the compiler. I don't know if cc will do it, but I suspect if any compiler can cc can. Of course you would have a testing problem since you could not test the complied code in a 32 OS.


Reply With Quote