public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: David Starks-Browning <starksb@ebi.ac.uk>
To: "Tejeswar" <tejeswara.rao@wipro.com>
Cc: <cygwin@cygwin.com>
Subject: Regd. GNU installation
Date: Wed, 12 Sep 2001 05:27:00 -0000	[thread overview]
Message-ID: <4020-Wed12Sep2001132710+0100-starksb@ebi.ac.uk> (raw)
In-Reply-To: <007101c13b5f$e3eb38e0$7909c80a@wipro.com>

On Wednesday 12 Sep 01, Tejeswara Kotthakota writes:
> Hi, 
> 
> I installed Cygwin on my Windows NT machine. I see that Cygwin comes with GCC 2.95.x.
> I wrote a small C++ program to test it.
> When I try,
> 
> $gcc filename.cc 
> 
> it was giving following error,
> 
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
> Collect2: ld returned 1 exit status

You must use g++ to compile C++ programs, not gcc.

Hope this helps.

Regards,
David
(Cygwin FAQ maintainer)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2001-09-12  5:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-12  5:04 Tejeswara Kotthakota
2001-09-12  5:27 ` David Starks-Browning [this message]
2001-09-12  6:46   ` Andrew Markebo
2001-11-11  8:26 ` Gerrit P. Haase
2001-11-11  8:26   ` Tejeswara Kotthakota
2001-09-12 21:25 m_shanmugasundaram.cgmaersk

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=4020-Wed12Sep2001132710+0100-starksb@ebi.ac.uk \
    --to=starksb@ebi.ac.uk \
    --cc=cygwin@cygwin.com \
    --cc=tejeswara.rao@wipro.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).