delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/13/14:33:08

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 13 Sep 2000 14:32:06 -0400
Message-Id: <200009131832.OAA14431@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: paoletti AT izm DOT fhg DOT de
CC: cygwin AT sources DOT redhat DOT 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 DOT 2976CE06 AT izm DOT fhg DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019