Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: 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 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes > when I try to compile this... > > //zozo.cc > #include > 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/