News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can I build 32-bit programs under x86_64 OS with codeblocks?

Started by skyplus, December 18, 2007, 05:36:56 AM

Previous topic - Next topic

skyplus

I have little idea about things like i386, x86_64 etc...
Until yesterday, when i was trying to run my program in another computer with ubuntu os, I recognized my centos was a x86_64 distribution. But it is already too late for me to reinstall the system.
Can codeblocks offer some convenience for my situation?
or show me some links talk about building 32bit programs under 64bit system. Really appreciate! Thanks!
I am using codeblocks & wxWidgets libraries for development recently.

MortenMacFly

Quote from: skyplus on December 18, 2007, 05:36:56 AM
or show me some links talk about building 32bit programs under 64bit system.
Search with google for gcc and "-m32" compiler/linker switch.
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]