Solved

GCC g++ for WIndows 2000

Posted on 2004-08-09
5
178 Views
Last Modified: 2010-04-01
Hi,
Where can I find a simple installation for the GCC compiler for WIn2k.
By simple I mean "download and play".
I have found many sources but whenevr I try to compile a trivial program that includes only "iostream" I end up with some missing types.

Thanks
0
Comment
Question by:mco
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
SteH earned 100 total points
ID: 11751714
have you tried dev-C++?

www.bloodshed.net
0
 
LVL 1

Author Comment

by:mco
ID: 11751832
I haven't found what I am looking for there.
I am looking to download a package, that I can immediately then run the command "g++ foo.cpp: for a simple program using only iostream, and succeed.
It has to be simple, installation wise, and not an IDE.
0
 
LVL 13

Expert Comment

by:SteH
ID: 11752188
You could then try to download the files from
http://www.mingw.org/
This is part of Dev-Cpp but contains only the compiler and some libraries. So it eases the use of gcc under windows. Drawback is that you need to download several files. Dev-Cpp is a single file to download but adds and IDE to the compiler.
0
 
LVL 11

Expert Comment

by:avizit
ID: 11752569
try cygwin


www.cygwin.com

it wil let you type g++ test.cpp


0
 
LVL 1

Author Comment

by:mco
ID: 11761464
I could use the g++ command directly after installing dev-cpp
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now