News:

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

Main Menu

MinGW with GCC4

Started by Ninds, July 10, 2009, 11:28:24 PM

Previous topic - Next topic

Ninds

Hello

I would like to know, now that MinGW  is being shipped with GCC4 https://sourceforge.net/project/shownotes.php?release_id=691876 are there any plans to update the Code::Blocks Installer with the MinGW setup ?

Thanx
N

stahta01

Quote from: Ninds on July 10, 2009, 11:28:24 PM
Hello

I would like to know, now that MinGW  is being shipped with GCC4 https://sourceforge.net/project/shownotes.php?release_id=691876 are there any plans to update the Code::Blocks Installer with the MinGW setup ?

Thanx
N


I hope the answer is no!

In my opinion, shipping  Code::Blocks with MinGW is a very bad Idea.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Ninds

I don't have an opinion either way. But we do ship xlw4 [ https://sourceforge.net/projects/xlw/files/ ] with support for Code::Blocks with libs built against the MinGW installed by the Code::Blocks installer. However we have now had people using Code::Blocks not being able to build xlw addins against  the new MinGW shipping with gcc4.

We really don't want provide two seperate xlw builds, one for a standalone MinGW install ( gcc4 ) and one for the Code::Blocks installed MinGW (gcc3). We already do that for Dev-C++, but support for Dev-C++ is being deprecated.


xlw4 is currently Beta and we're trying to figure out the best way to ship support for Code::Blocks & MinGW in the final release.


killerbot

That's why it is best CB does not ship with a compiler. I would also prefer it would not ship with a compiler. Because when we sip with a new version o GCC, your libraries might not be usable since hey are build with a newer/older GCC.

The question is for the 'dummu' user who wants to start some programming, a 'one' package *might* be interesting.

My personal opinion, if you start development, it would be good to understand what an IDE, compiler, debugger is.

By the way, with the TDM installer version of MinGW, this becomes very easy, that installer brings the whole MinGW stuff you actually need in one go. Much better then the zillion packages to download manually from MinGW.

Ninds

Quote from: killerbot on July 11, 2009, 02:00:15 PM
By the way, with the TDM installer version of MinGW, this becomes very easy, that installer brings the whole MinGW stuff you actually need in one go. Much better then the zillion packages to download manually from MinGW.

What is TDM ?
Maybe we have to think of doing the same ....

stahta01

Quote from: Ninds on July 11, 2009, 02:04:44 PM
Quote from: killerbot on July 11, 2009, 02:00:15 PM
By the way, with the TDM installer version of MinGW, this becomes very easy, that installer brings the whole MinGW stuff you actually need in one go. Much better then the zillion packages to download manually from MinGW.

What is TDM ?
Maybe we have to think of doing the same ....

See http://www.tdragon.net/recentgcc/
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Ninds

Ok, I had a look at the TDM MinGW site. I downloaded the installer and executed it. It seemed to work fine and provided what I needed, except make.
I was hoping to have installed a complete build environment.

But I am assuming C::B installs its own make.

Still a bit confused about what to do, it was very convenient for C::B to installed alongside its own MinGW, it meant less work for the end-user.

Will C::B pick up the TDM installation ?

thomas

Quote from: killerbot on July 11, 2009, 02:00:15 PM
That's why it is best CB does not ship with a compiler. I would also prefer it would not ship with a compiler. Because when we sip with a new version o GCC, your libraries might not be usable since hey are build with a newer/older GCC.
True, though on the other hand, we could probably avoid the rather common "I do this in Dev-CPP and it just works, but Code::Blocks say invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!], helpz helpz!!!11!" problem by offering an "all in one bundled" install.

Advantages and disadvantages, like everything in life.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Ninds

Thats fair enough, so what are your intentions ? Will you continue to ship the previous version of MinGW or will you be upgrading to the more recent GCC4 ?

killerbot

a first thing we will try is to build CB itself with  the latest MinGW release (in an upcoming nightly this switch is going to happen).

Ninds

Thanks for the reply. But at the risk of sounding pushy, what is the timeline we are looking at. This information will help us plan a release for xlw4.

stahta01

Quote from: killerbot on July 11, 2009, 07:52:08 PM
a first thing we will try is to build CB itself with  the latest MinGW release (in an upcoming nightly this switch is going to happen).

Please remember to update the "exchndl.dll" for the New Compiler Version.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

killerbot

Quote from: stahta01 on July 11, 2009, 11:01:38 PM
Quote from: killerbot on July 11, 2009, 07:52:08 PM
a first thing we will try is to build CB itself with  the latest MinGW release (in an upcoming nightly this switch is going to happen).

Please remember to update the "exchndl.dll" for the New Compiler Version.

Tim S

Thanks TIm, I would have forgotten this. Where can I get hold of it ?

ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.