| 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 |
| Message-ID: | <019d01c402e8$182d80c0$800101df@toyon.corp> |
| From: | "Peter J. Stieber" <developer AT toyon DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <4048CE1D DOT 30000 AT gmx DOT fr> |
| Subject: | Re: Undefined references when compiling C++ program |
| Date: | Fri, 5 Mar 2004 11:28:53 -0800 |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
> when I try to compile this...
>
> //zozo.cc
> #include <iostream>
> int main()
> {
> std::cout << "Salut" << std::endl;
> return 0;
> }
>
> ...with...
> gcc zozo.cc
Use g++ zozo.cc instead.
Pete
--
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 |