Solved

GCC g++ for WIndows 2000

Posted on 2004-08-09
5
182 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Retrieve PID of MicrosoftEdge.exe with GetForegroundWindow() 6 120
Exception thrown at 0x00007FFD5BC81F28 7 38
c++ syntax question 9 43
Safe conversion? 4 55
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

932 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

12 Experts available now in Live!

Get 1:1 Help Now