| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Subject: | Re: GCC- Doubt |
| To: | cygwin AT cygwin DOT com |
| X-Mailer: | Lotus Notes Release 5.0.2b (Intl) 16 December 1999 |
| Message-ID: | <OFBBF42489.1D0B4376-ON65256ABF.00316289@mdata.dk> |
| From: | m_shanmugasundaram DOT cgmaersk AT maerskdata DOT dk |
| Date: | Thu, 6 Sep 2001 14:32:14 +0530 |
| X-MIMETrack: | Serialize by Router on MDCSMTP/MDG(Release 5.0.6a |January 17, 2001) at 06-09-2001 |
| 11:02:26 | |
| MIME-Version: | 1.0 |
Hi Randall Schulz,
Thank you for your advice. I installed win32api and the GCC compiles
well. I dont have space in my hard disk to install the whole of cygwin :((
Cheers
Shan
Randall R
Schulz To:
<rrschulz AT cri m_shanmugasundaram DOT cgmaersk AT maerskdata DOT dk,
s.com> cygwin AT cygwin DOT com
cc:
06/09/01 Subject: Re: GCC- Doubt
04:44 AM
Shan,
I imagine you did not install all of Cygwin. With my full and current
install, your program, copied directly from your post, compiles without
complaint and executes exactly as expected.
Randall Schulz
Mountain View, CA USA
At 02:57 2001-09-05, m_shanmugasundaram DOT cgmaersk AT maerskdata DOT dk wrote:
>Hi ,
>
>I downloaded and installed the cygwin today. When i tried to compile the
>simple hello.c program the following error occured. please help me.
>
>The program is:
>
>#include<stdio.h>
>int main()
>{
> printf("Hello world\n");
> return 0;
>}
>
>The error reported is:
>
>$gcc -o hello hello.c
>/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
>
>Cheers
>Shan
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |