Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Wed, 13 Sep 2000 14:32:06 -0400
Message-Id: <200009131832.OAA14431@envy.delorie.com>
From: DJ Delorie <dj@delorie.com>
To: paoletti@izm.fhg.de
CC: cygwin@sources.redhat.com
In-reply-to: <39BFC59D.2976CE06@izm.fhg.de> (message from Umberto Paoletti on
	Wed, 13 Sep 2000 20:21:17 +0200)
Subject: Re: Problems with gcc.
References:  <39BFC59D.2976CE06@izm.fhg.de>


> $ gcc prova.cc
> /cygdrive/c/TEMP/ccTSU)Ej.o(.text+0x20):prova.cc: undefined reference to
> 'cout'
> /cygdrive/c/TEMP/ccTSU)Ej.o(.text+0x20):prova.cc: undefined reference to
> 'ostream::operator<<(char const *)''

This isn't a cygwin problem.  When you build a C++ program, you either
have to use the C++-aware version of gcc (g++) or manually specify
-lstdc++ on the command line to link the C++ libraries.

> The directories c:/cygwin/usr/bin and c:/cygwin/usr/local/bin are void.
> Is that normal?

If you are looking with explorer, yes.  The first has /bin mounted
over it and the second is intentionally empty.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

