Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Ninds on July 10, 2009, 11:28:24 pm

Title: MinGW with GCC4
Post by: 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 (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
Title: Re: MinGW with GCC4
Post by: stahta01 on July 11, 2009, 06:53:24 am
Hello

I would like to know, now that MinGW  is being shipped with GCC4 https://sourceforge.net/project/shownotes.php?release_id=691876 (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
Title: Re: MinGW with GCC4
Post by: Ninds on July 11, 2009, 01:03:37 pm
I don't have an opinion either way. But we do ship xlw4 [ https://sourceforge.net/projects/xlw/files/ (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.

Title: Re: MinGW with GCC4
Post by: 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.

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.
Title: Re: MinGW with GCC4
Post by: Ninds on July 11, 2009, 02:04:44 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 ....
Title: Re: MinGW with GCC4
Post by: stahta01 on July 11, 2009, 03:08:43 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/
Title: Re: MinGW with GCC4
Post by: Ninds on July 11, 2009, 04:00:37 pm
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 ?
Title: Re: MinGW with GCC4
Post by: thomas on July 11, 2009, 05:23:36 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.
Title: Re: MinGW with GCC4
Post by: Ninds on July 11, 2009, 06:33:00 pm
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 ?
Title: Re: MinGW with GCC4
Post by: 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).
Title: Re: MinGW with GCC4
Post by: Ninds on July 11, 2009, 10:19:17 pm
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.
Title: Re: MinGW with GCC4
Post by: stahta01 on July 11, 2009, 11:01:38 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
Title: Re: MinGW with GCC4
Post by: killerbot on July 12, 2009, 09:44:48 am
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 ?
Title: Re: MinGW with GCC4
Post by: ollydbg on July 12, 2009, 10:07:16 am
@killerbot
It's here:
http://forums.codeblocks.org/index.php/topic,10750.msg73709.html#msg73709