public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Thomas Pfaff" <tpfaff@gmx.net>
To: "Wei  Xu" <weixuz@yesic.com>, <cygwin@sourceware.cygnus.com>
Subject: Re: gcc library
Date: Sat, 31 Jul 1999 18:34:00 -0000	[thread overview]
Message-ID: <060101bec888$e8f09160$69856286@tpfaff.pcs.ditec.de> (raw)
Message-ID: <19990731183400.lEU8ZsH05VZgegDKAMukQVfJm-8RGZkZ0F-GhQHBy7s@z> (raw)

-----Original Message-----
From: Wei Xu <weixuz@yesic.com>
To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.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@sourceware.cygnus.com

             reply	other threads:[~1999-07-31 18:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-07  7:54 Thomas Pfaff [this message]
1999-07-31 18:34 ` Thomas Pfaff
  -- strict thread matches above, loose matches on Subject: below --
1999-07-07  7:55 Wei  Xu
1999-07-31 18:34 ` Wei  Xu
1999-07-07  7:16 Wei  Xu
1999-07-07  7:41 ` Jonathan Pryor
1999-07-31 18:34   ` Jonathan Pryor
1999-07-07  7:47 ` Raju K. V.
1999-07-31 18:34   ` Raju K. V.
1999-07-31 18:34 ` Wei  Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='060101bec888$e8f09160$69856286@tpfaff.pcs.ditec.de' \
    --to=tpfaff@gmx.net \
    --cc=cygwin@sourceware.cygnus.com \
    --cc=weixuz@yesic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).