Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Installing GNU C++ compiler under Windows 7

Reply
Thread Tools

Installing GNU C++ compiler under Windows 7

 
 
kd.boss@gmail.com
Guest
Posts: n/a
 
      02-28-2013
On Tuesday, February 26, 2013 2:48:41 PM UTC-6, Andy Champ wrote:
> On 26/02/2013 09:03, Jorgen Grahn wrote:
>
> > Ok. Well, as I see it a newbie definitely needs at least a C++98

>
> > compiler. I hear that there are freeware versions of Microsoft's

>
> > compiler, but don't know how they compare to MinGW.

>
> >

>
> > C++11/is/ an improvement on C++98 and it's good that your book

>
> > covers it, but IMHO it's not a big handicap for you to start out with

>
> > C++98.

>
>
>
> ICBW but I don't believe MS's compiler is fully C++11 compliant. Whether
>
> that matters or not, and whether GCC is any better I don't know.
>
>
>
> Andy


http://msdn.microsoft.com/en-us/libr.../hh567368.aspx < VC's C++ 11 state.

Microsoft has a complete c++ 11 compliant standard library -- including threading though with lacking true variadic template support, and lacking initilizer list constructors (compiler support has not caught up enough yet).

GCC 4.7 implements nearly all of the standard, lacking memory model and related features, which causes the libstd to suffer from lack of threading support.

C++ 11 is still in flux, everyone's still trying to catch up. Though the catching up is moving WAY faster than the c++ 98 adoption did.

For the OP's question though, he's really looking more for an IDE, visual studio 2012 desktop would work, or if he's really needing gcc, QtCreator for windows comes with MinGw(GCC 4.7).
 
Reply With Quote
 
 
 
 
bob@sharklasers.com
Guest
Posts: n/a
 
      02-28-2013
Am Montag, 25. Februar 2013 18:26:43 UTC+1 schrieb Nobody:
> On Mon, 25 Feb 2013 17:08:52 +0000, Swifty wrote: > I bought "C++ Primer Fifth Edition" as an introduction to C++. It says > that it used the GNU C++ compiler mostly. Can that be installed under > Windows 7? Yes. The usual source for gcc (and other GNU programming tools) for Windows is MinGW: http://www.mingw.org/


As you are using Windows7 I would suggest to start with Visual C++ Express.You get a decent editor, an easy to use debugger and a good help system (MSDN). That's great for a beginner (C++ newbie)

I myself did also install mingw. But just because Microsoft C++ only has about 50% of the new C++11 stuff. And I am only using GNU C++ for things not (yet) supported by MS.

Again: I am not saying which compiler is better. I am just talking about the ease of usage. As a beginner you will use like only 10% of C++ anyway...
 
Reply With Quote
 
 
 
 
Swifty
Guest
Posts: n/a
 
      02-28-2013
On 28/02/2013 14:33, wrote:
> As a beginner you will use like only 10% of C++ anyway...


If I ever make it that far! The language I've been using for the last 35
years is defined in a book of 299 pages (including the index). My C++
primer is 900+ pages, so I'll almost certainly fall short of 30% of it.

--
Steve Swift
http://www.swiftys.org.uk/
 
Reply With Quote
 
Jorgen Grahn
Guest
Posts: n/a
 
      03-05-2013
On Thu, 2013-02-28, wrote:

> As you are using Windows7 I would suggest to start with Visual C++
> Express. You get a decent editor, an easy to use debugger and a good
> help system (MSDN). That's great for a beginner (C++ newbie) >

....
> Again: I am not saying which compiler is better. I am just talking
> about the ease of usage.


Ease of use is debatable too -- force me to use such an environment
and you'd see my productivity drop like a stone. The compiler itself
matters little, though.

> As a beginner you will use like only 10% of
> C++ anyway...


If the implication is (and it probably isn't) that 90% of C++ is more
or less experts-only, then I disagree. There are a few rarely-useful
corners and some cruft left over from C, but most of it is relevant
much of the time.

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Gnu compiler under VMWare? me@privacy.net C++ 6 03-13-2010 07:26 AM
Writing a program under GNU/Linux for MS Windows. Levi Campbell Python 3 07-20-2008 11:24 AM
Re: Any non-GNU compilers? sick of GNU copylefts Markus Elfring C++ 2 02-23-2005 10:24 PM
R e: 1 day gnu, whole life gnu? Peter Java 17 01-13-2005 03:32 PM
1 day gnu, whole life gnu? Peter Java 3 01-10-2005 02:26 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57