public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Regd. GNU installation
@ 2001-09-12  5:04 Tejeswara Kotthakota
  2001-09-12  5:27 ` David Starks-Browning
  2001-11-11  8:26 ` Gerrit P. Haase
  0 siblings, 2 replies; 6+ messages in thread
From: Tejeswara Kotthakota @ 2001-09-12  5:04 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1834 bytes --]

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
 

Did I miss some thing during installtion 
process??
It would be great help giving any pointers on this.
 
Thanks n regards
Tejeswar
 
 
***************************************************************************** K 
Tejeswara Rao Manufacturing Vertical Wipro Technologies 72, Keonics 
Electronics City, Hosur Main Road, Bangalore-561 229, India. Tel: 
91-80-8520416, 8520419,8520408,8520425  Ext: 1269 Fax: 
091-080-8520478 E-mail: tejeswara.rao@wipro.com www.wipro.com The World's First SEI CMM Level 
5 Software Services 
Company *****************************************************************************
-----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
------------------------------------------------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Regd. GNU installation
  2001-09-12  5:04 Regd. GNU installation Tejeswara Kotthakota
@ 2001-09-12  5:27 ` David Starks-Browning
  2001-09-12  6:46   ` Andrew Markebo
  2001-11-11  8:26 ` Gerrit P. Haase
  1 sibling, 1 reply; 6+ messages in thread
From: David Starks-Browning @ 2001-09-12  5:27 UTC (permalink / raw)
  To: Tejeswar; +Cc: cygwin

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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Regd. GNU installation
  2001-09-12  5:27 ` David Starks-Browning
@ 2001-09-12  6:46   ` Andrew Markebo
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Markebo @ 2001-09-12  6:46 UTC (permalink / raw)
  To: David Starks-Browning; +Cc: Tejeswar, cygwin

/ David Starks-Browning <starksb@ebi.ac.uk> wrote:
| 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.

No you don't.. gcc compiles c++-files ok, but it doesn't add the
-liostream needed for a normal hello world.. 

Checking the archives it seems like the w32api package is missing.

        /Andy

--
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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Regd. GNU installation
  2001-11-11  8:26 ` Gerrit P. Haase
@ 2001-11-11  8:26   ` Tejeswara Kotthakota
  0 siblings, 0 replies; 6+ messages in thread
From: Tejeswara Kotthakota @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Gerrit P. Haase

[-- Attachment #1: Type: text/plain, Size: 1522 bytes --]

Hi Gerrit

I could sort out this problem. Thanks anyways for the reply.


Best Regards
Tej

----- Original Message -----
From: Gerrit P. Haase <freeweb@nyckelpiga.de>
To: Tejeswara Kotthakota <tejeswara.rao@wipro.com>
Cc: <cygwin@cygwin.com>
Sent: Thursday, November 15, 2001 10:55 PM
Subject: Re: Regd. GNU installation


Hallo Tejeswara,

2001-11-15 18:21:28, du schriebst:

> 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

> Did I miss some thing during installtion process??
> It would be great help giving any pointers on this.

Get the new setup.exe http://www.cygwin.com/setup.exe
It knows what to install if you choose gcc.

Also a look in setup.ini should tell you what you need else:
@ gcc
sdesc: "C, C++, Fortran compilers"
category: Devel
requires: cygwin ash binutils w32api       <--------------------HERE!
version: 2.95.3-5
install: latest/gcc/gcc-2.95.3-5.tar.bz2 3537567
source: latest/gcc/gcc-2.95.3-5-src.tar.bz2 8507050

Gerrit
--
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit.haase@convey.de                            Fon: ++49 221 6903922



[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 856 bytes --]

-----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
------------------------------------------------------------------------------------------------------------------------


[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Regd. GNU installation
  2001-09-12  5:04 Regd. GNU installation Tejeswara Kotthakota
  2001-09-12  5:27 ` David Starks-Browning
@ 2001-11-11  8:26 ` Gerrit P. Haase
  2001-11-11  8:26   ` Tejeswara Kotthakota
  1 sibling, 1 reply; 6+ messages in thread
From: Gerrit P. Haase @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Tejeswara Kotthakota; +Cc: cygwin

Hallo Tejeswara,

2001-11-15 18:21:28, du schriebst:

> 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

> Did I miss some thing during installtion process??
> It would be great help giving any pointers on this.

Get the new setup.exe http://www.cygwin.com/setup.exe
It knows what to install if you choose gcc.

Also a look in setup.ini should tell you what you need else:
@ gcc
sdesc: "C, C++, Fortran compilers"
category: Devel
requires: cygwin ash binutils w32api       <--------------------HERE!
version: 2.95.3-5
install: latest/gcc/gcc-2.95.3-5.tar.bz2 3537567
source: latest/gcc/gcc-2.95.3-5-src.tar.bz2 8507050

Gerrit
-- 
convey Information Systems GmbH                   http://www.convey.de/
                                                  Vitalisstraße 326-328
Gerrit P. Haase                                   D-50933 Köln
gerrit.haase@convey.de                            Fon: ++49 221 6903922


--
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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Regd. GNU installation
@ 2001-09-12 21:25 m_shanmugasundaram.cgmaersk
  0 siblings, 0 replies; 6+ messages in thread
From: m_shanmugasundaram.cgmaersk @ 2001-09-12 21:25 UTC (permalink / raw)
  To: Tejeswar, 

[-- Attachment #1: Type: text/plain, Size: 2726 bytes --]

You should install win32api....





                                                                                                   
                    "Tejeswara                                                                     
                    Kotthakota"                  To:     <cygwin@cygwin.com>                       
                    <tejeswara.rao@wipro.        cc:                                               
                    com>                         Subject:     Regd. GNU installation               
                    Sent by:                                                                       
                    cygwin-owner@sources.                                                          
                    redhat.com                                                                     
                                                                                                   
                                                                                                   
                    12/09/01 01:22 PM                                                              
                    Please respond to                                                              
                    "Tejeswar"                                                                     
                                                                                                   
                                                                                                   


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

Did I miss some thing during installtion process??
It would be great help giving any pointers on this.

Thanks n regards
Tejeswar


*****************************************************************************

K Tejeswara Rao
Manufacturing Vertical
Wipro Technologies
72, Keonics Electronics City, Hosur Main Road,
Bangalore-561 229, India.
Tel: 91-80-8520416, 8520419,8520408,8520425  Ext: 1269
Fax: 091-080-8520478
E-mail: tejeswara.rao@wipro.com
www.wipro.com
The World's First SEI CMM Level 5 Software Services Company
*****************************************************************************
(See attached file: Wipro_Disclaimer.txt)--
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/


[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 868 bytes --]

-----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
------------------------------------------------------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-16  5:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-12  5:04 Regd. GNU installation Tejeswara Kotthakota
2001-09-12  5:27 ` David Starks-Browning
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

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).