| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | "Alex Vinokur" <alexvn AT connect DOT to> |
| Subject: | Re: g++ iostream broken on windows 2000 |
| Date: | Wed, 17 Sep 2003 06:49:41 +0300 |
| Lines: | 23 |
| Message-ID: | <bk8ll6$ue0$1@sea.gmane.org> |
| References: | <20030915234312 DOT 66294 DOT qmail AT web40708 DOT mail DOT yahoo DOT com> <bk618f$pic$1 AT sea DOT gmane DOT org> <VA DOT 00000e68 DOT 00c54369 AT thesoftwaresource DOT com> |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
| X-Mimeole: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
"Brian Keener" <bkeenerReMoVeAnTiSpAm AT thesoftwaresource DOT com> wrote in message news:VA DOT 00000e68 DOT 00c54369 AT thesoftwaresource DOT com...
[snip]
> $ gcc -g -o ./debug/first.exe ./first.cpp
[snip]
To compile C++ program one should use g++ (not gcc).
For instance,
$ g++ -g -o ./debug/first.exe ./first.cpp
To compile C program one should use gcc.
For instance,
$ gcc -g -o ./debug/first2.exe ./first2.c
=====================================
Alex Vinokur
mailto:alexvn AT connect DOT to
http://mathforum.org/library/view/10978.html
=====================================
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |