NO

Author Topic: Can i compile code for 64-bit on 32-bit system?  (Read 2682 times)

kerem_g

  • Guest
Can i compile code for 64-bit on 32-bit system?
« on: February 16, 2010, 05:17:18 AM »
Hi,

sorry for this newbie like question, but can i compile my code inside the
IDE that is running on a 32-bit System targeting a 64-bit system? I
dont want to install PellesC on a 64-bit system and then move all my
files to the machine to compile it there. Is it possible to compile my code
on a 32 bit system to create a 64 bit image on it and if yes, how?

Thanks in advance,...

K.

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: Can i compile code for 64-bit on 32-bit system?
« Reply #1 on: February 16, 2010, 11:25:42 AM »
Hi,

sorry for this newbie like question, but can i compile my code inside the
IDE that is running on a 32-bit System targeting a 64-bit system? I
dont want to install PellesC on a 64-bit system and then move all my
files to the machine to compile it there. Is it possible to compile my code
on a 32 bit system to create a 64 bit image on it and if yes, how?

Thanks in advance,...

K.

I have tried it. I seems that you can compile  ;), but the linker don't work. :(
But perhaps you can extract the 64-bit libraries from the 64-installer and all works.
best regards
 Alex ;)