News:

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

Main Menu

CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version

Started by kylove, March 03, 2008, 09:38:31 AM

Previous topic - Next topic

kylove

CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version

thomas

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."

asdz

Quote from: kylove on March 03, 2008, 09:38:31 AM
CodeBlocks why not used MinGW 5.x (gcc 4.2.x) version
is there a gcc 4.2.* version supported on Windows?

thomas

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."

JGM

Quote from: thomas on March 03, 2008, 01:54:00 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:

asdz

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

thomas

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."

asdz

Quote from: thomas 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 :)
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?


asdz

Quote from: anwender4711 on March 15, 2008, 06:37:31 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....

anwender4711

#10
Quote from: asdz on March 15, 2008, 07:29:14 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.

asdz

thanx a million guys!
i found it out!
one more last problem...
Can't compile with Openmp... any hints on that?

Ceniza

Quote from: asdz 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?

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.