News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Compiler 32 bits in CPU 64 bits

Started by fabiobasso, April 08, 2013, 06:56:47 PM

Previous topic - Next topic

fabiobasso

Hi,

There is a program to compile as 32-bit in codeblocks installed on a 64 bit CPU?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

MortenMacFly

Quote from: fabiobasso on April 08, 2013, 06:56:47 PM
There is a program to compile as 32-bit in codeblocks installed on a 64 bit CPU?
Yes - one of the many 32 bit compilers C::B supports.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

thomas

32bit programs (including 32bit-targetting compilers) work just fine under 64 bits, at least under Windows. There is no 64bit-hosted 32bit-targetting compiler that I know of, but you don't need that.

Slightly different situation under Linux, but cross-compilers are readily available as part of every non-joke standard distro there.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

fabiobasso