delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/04/13:24:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42762.10.107.1.1.1109959056.squirrel@10.107.1.1>
In-Reply-To: <Pine.GSO.4.61.0503041122190.15210@slinky.cs.nyu.edu>
References: <61490 DOT 10 DOT 107 DOT 1 DOT 1 DOT 1109925568 DOT squirrel AT 10 DOT 107 DOT 1 DOT 1> <Pine DOT GSO DOT 4 DOT 61 DOT 0503041122190 DOT 15210 AT slinky DOT cs DOT nyu DOT edu>
Date: Fri, 4 Mar 2005 23:27:36 +0530 (IST)
Subject: Re: installing cygwin (for C++)
From: arjun AT ee DOT iitb DOT ac DOT in
To: cygwin AT cygwin DOT com
User-Agent: SquirrelMail/1.4.3a
MIME-Version: 1.0

hi,
 Thanks a lot for the reply.I installed everything in the "Devel" category.
 However,when I try to compile a cpp file using "g++ filename.cpp" Iam
getting the following error:

 /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld:
cannot
find -luser32
collect2: ld returned 1 exit status

 can you plz help me out with this.

Arjun.

> On Fri, 4 Mar 2005, arjun wrote:
>
>> Hi,
>>   I want to know what all pacakegs I need to install to be able to
>> compile
>> and run C++ programs.
>
> What you need is the GNU C++ compiler (g++).  Search the Cygwin packages
> for 'g++' on the package search page at <http://cygwin.com/packages/>.
> Remember, the search string is a full regular expression, so '+'s need to
> be escaped with '\'s.  It's also helpful to prepend "bin/" to the
> executable name.
>
> See also <http://cygwin.com/faq/faq_2.html#SEC13>.
>
>> Can you also please suggest mirrors which contain these.Iam installing
>> using setup.exe
>
> All of the mirrors on the official mirror list[*] should contain the
> necessary packages.
> 	Igor
> [*] <http://cygwin.com/mirrors.html>
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "The Sun will pass between the Earth and the Moon tonight for a total
> Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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