Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Developing 64-bit applications using Code::Blocks
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Developing 64-bit applications using Code::Blocks (Read 4781 times)
LeanA
Single posting newcomer
Posts: 2
Developing 64-bit applications using Code::Blocks
«
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!
Logged
thomas
Administrator
Lives here!
Posts: 3979
Re: Developing 64-bit applications using Code::Blocks
«
Reply #1 on:
February 05, 2010, 06:32:09 pm »
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.
Logged
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."
LeanA
Single posting newcomer
Posts: 2
Re: Developing 64-bit applications using Code::Blocks
«
Reply #2 on:
February 06, 2010, 04:50:02 am »
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!
Logged
thomas
Administrator
Lives here!
Posts: 3979
Re: Developing 64-bit applications using Code::Blocks
«
Reply #3 on:
February 06, 2010, 07:40:36 pm »
For 64-bit Windows, you will need to use something like for example
this
.
Works the same like the packaged compiler, only need to either configure a different path name or/and executable names in "toolchain" preferences.
Logged
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
Developing 64-bit applications using Code::Blocks