Mail Archives: cygwin/2005/03/04/13:24:52
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 -