This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Undefined references when compiling C++ program
- From: "Peter J. Stieber" <developer at toyon dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 5 Mar 2004 11:28:53 -0800
- Subject: Re: Undefined references when compiling C++ program
- References: <4048CE1D.30000@gmx.fr>
> 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/