Pelles C forum

Pelles C => General discussions => Topic started by: kerem_g on February 16, 2010, 05:17:18 AM

Title: Can i compile code for 64-bit on 32-bit system?
Post by: kerem_g 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.
Title: Re: Can i compile code for 64-bit on 32-bit system?
Post by: AlexN on February 16, 2010, 11:25:42 AM
Quote from: kerem_g 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.

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.