delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <060101bec888$e8f09160$69856286@tpfaff.pcs.ditec.de> |
From: | "Thomas Pfaff" <tpfaff AT gmx DOT net> |
To: | "Wei Xu" <weixuz AT yesic DOT com>, <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | Re: gcc library |
Date: | Wed, 7 Jul 1999 16:56:35 +0200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 4.72.3612.1700 |
X-Mimeole: | Produced By Microsoft MimeOLE V4.72.3612.1700 |
-----Original Message----- From: Wei Xu <weixuz AT yesic DOT com> To: cygwin AT sourceware DOT cygnus DOT com <cygwin AT sourceware DOT cygnus DOT com> Date: Mittwoch, 7. Juli 1999 16:28 Subject: gcc library >try.cc: In function `int main(int, char **)': >try.cc:6: warning: implicit declaration of function `int printf(...)' >C:\WINDOWS\TEMP\ccz14xFI.o(.text+0x1e):try.cc: undefined reference to = >`cout' >C:\WINDOWS\TEMP\ccz14xFI.o(.text+0x23):try.cc: undefined reference to = >`ostream:: >operator<<(char const *)' >collect2: ld returned 1 exit status Compile with g++ instead of gcc, otherwise the required library 'libstdc++' is not included when linked. -Thomas -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |