Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: LeanA on February 05, 2010, 06:26:19 pm
-
Hi all,
I was wondering if it is possible to create 64-bit applications using Code::Blocks? And if so, what are the steps that I need to do in order to use it?
Thanks in advance!
-
You need a 64 bit compiler for the platform you're developing for, and you need to be aware that pointers are twice the size (or, use sizeof() which is better anyway). That's pretty much it.
-
Hi thomas, thanks for replying!
Where can I get the 64-bit compiler? Is it included in the Codeblocks installer? Sorry, I'm quite new :(
And if say I want to develop an application for a 64-bit Windows XP OS, does that mean that the 64-bit compiler I have targets that kind of OS?
Thank you!
-
For 64-bit Windows, you will need to use something like for example this (http://sourceforge.net/projects/mingw-w64/).
Works the same like the packaged compiler, only need to either configure a different path name or/and executable names in "toolchain" preferences.