Author Topic: CodeBlocks vs CodeBlocks Mingw ?? [Solved]  (Read 12087 times)

Offline Areyan

  • Multiple posting newcomer
  • *
  • Posts: 12
CodeBlocks vs CodeBlocks Mingw ?? [Solved]
« on: November 02, 2012, 02:49:56 pm »
Hi,

I'm trying to decide which version to use (sitting on win7), and thus i'm curious about the differences between the "standard" CodeBlocks version for windows, and the Mingw version.
Since a tour around Google, and a short look through the forums left me, more or less, without any good answers, I thought it might be a good idea to make this post and see if any of you guys could further clarify on my questions.

The main ones are:
1. General differences
2. Wich is better for cross-platform programming and why, and wether this comes at disadvantages or not?
3. Is one of them "easier" to use than the other? (Note: asking about technical advantages/disadvantages)
4. Other arguments for/against one of the versions?
« Last Edit: November 02, 2012, 04:32:18 pm by Areyan »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CodeBlocks vs CodeBlocks Mingw ??
« Reply #1 on: November 02, 2012, 03:23:56 pm »
I'm trying to decide which version to use (sitting on win7),
If you are ion Win7, the official release won't work flawlessly (the compiler is too old).

So you either have to use a nightly and an updated compiler (i.e. TDM/GCC 4.7.1) or you wait for the upcoming next release or install the compiler-free version and use an up-to-date compiler.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Areyan

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: CodeBlocks vs CodeBlocks Mingw ??
« Reply #2 on: November 02, 2012, 03:29:15 pm »
So basically only the Mingw version that you provide will work correctly on windows atm?
There are no other technical differences that I need to worry about?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: CodeBlocks vs CodeBlocks Mingw ??
« Reply #3 on: November 02, 2012, 04:30:10 pm »
So basically only the Mingw version that you provide will work correctly on windows atm?
There are no other technical differences that I need to worry about?
No, you mis-undertstood (or I, maybe):
10/05 works just fine on all platforms.
Only the compiler bundled in the 10/05-MinGW version does not work very well on Win7 and above (a known issue - at the time the compiler came out there was no Win7).

So - if you want to use 10/05, install the non-compiler version and install a compiler afterwards, e.g. from here:
http://tdm-gcc.tdragon.net/
(It comes with a nice installer, too - just you may need to configure Code::Blocks afterwards so it can find the compiler.)

The nightlies ship w/o compiler anyways. But the nightlies are way more feature-rich and advanced. So generally I would recommend you use one of these. But again: 10/05 should work just fine, too
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Areyan

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: CodeBlocks vs CodeBlocks Mingw ??
« Reply #4 on: November 02, 2012, 04:32:00 pm »
Ok, thanks then :)