Author Topic: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version  (Read 7260 times)

Offline kylove

  • Single posting newcomer
  • *
  • Posts: 9
CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« on: March 03, 2008, 09:38:31 am »
CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #1 on: March 03, 2008, 12:35:11 pm »
Nothing prevents you from using the tech preview version of MinGW.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline asdz

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #2 on: March 03, 2008, 01:15:25 pm »
CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
is there a gcc 4.2.* version supported on Windows?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #3 on: March 03, 2008, 01:54:00 pm »
Yes, but it is considered a "technology preview" release.
For the most part, it works nicely from what I can tell (using it every day), but it requires a few initial tweaks during setup, and it may have issues that are not yet known.

Considering that some of our users still don't know the difference between a poll and a normal thread, we did not deem it a good idea to bundle a "non-stable" compiler as the default.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline JGM

  • Lives here!
  • ****
  • Posts: 518
  • Got to practice :)
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #4 on: March 03, 2008, 02:12:14 pm »
Considering that some of our users still don't know the difference between a poll and a normal thread, we did not deem it a good idea to bundle a "non-stable" compiler as the default.

That was a good one  :lol:

Offline asdz

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #5 on: March 15, 2008, 04:22:09 pm »
could someone help me how to download a GCC 4.2 compiler version or greater, for using it on windows with code blocks?
Mingw has only 3.4 version...i would like 4.2 version or later.....
thank you in advance

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #6 on: March 15, 2008, 04:31:25 pm »
Well, download the 4.2.1 version from the MinGW download site, what is preventing you from doing that? It's not like it's rocket science :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline asdz

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #7 on: March 15, 2008, 06:15:40 pm »
Well, download the 4.2.1 version from the MinGW download site, what is preventing you from doing that? It's not like it's rocket science :)
maybe smthg i am doing wrong.... i am browsing Mingw site and the only release i can see is MinGW-5.1.3
I run it and there isn't GCC version 4.2.1...
It can only install GCC 3.4....
Could you help me find out what is my mistake?

Offline anwender4711

  • Single posting newcomer
  • *
  • Posts: 5
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #8 on: March 15, 2008, 06:37:31 pm »
look here

Offline asdz

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #9 on: March 15, 2008, 07:29:14 pm »
look here
this is the page where i d/led MingW...
Couldn't find what we are talking about....
GCC 4.2.1 version i see is only for linux distr...
Sorry about my annoying questions....

Offline anwender4711

  • Single posting newcomer
  • *
  • Posts: 5
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #10 on: March 15, 2008, 07:37:22 pm »
GCC 4.2.1 version i see is only for linux distr...
Don't get confused by the tar.gz archives. They are containing windows binaries.
« Last Edit: March 15, 2008, 10:59:42 pm by anwender4711 »

Offline asdz

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #11 on: March 16, 2008, 05:12:39 pm »
thanx a million guys!
i found it out!
one more last problem...
Can't compile with Openmp... any hints on that?

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
« Reply #12 on: March 16, 2008, 07:09:32 pm »
thanx a million guys!
i found it out!
one more last problem...
Can't compile with Openmp... any hints on that?

It seems the OpenMP library that comes with MinGW 4.2.1 depends on PThreads, which is not included. There's a PThreads implementation for Win32 from the redhat guys at http://sources.redhat.com/pthreads-win32/index.html

You are free to experiment with it, but don't expect us to help you any further. It just doesn't belong here.