public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: GCC- Doubt
@ 2001-09-06  2:03 m_shanmugasundaram.cgmaersk
  0 siblings, 0 replies; 3+ messages in thread
From: m_shanmugasundaram.cgmaersk @ 2001-09-06  2:03 UTC (permalink / raw)
  To: cygwin

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@cri        m_shanmugasundaram.cgmaersk@maerskdata.dk,        
                    s.com>               cygwin@cygwin.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.cgmaersk@maerskdata.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/

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

* Re: GCC- Doubt
  2001-09-05  3:45 m_shanmugasundaram.cgmaersk
@ 2001-09-05 16:15 ` Randall R Schulz
  0 siblings, 0 replies; 3+ messages in thread
From: Randall R Schulz @ 2001-09-05 16:15 UTC (permalink / raw)
  To: m_shanmugasundaram.cgmaersk, cygwin

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.cgmaersk@maerskdata.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/

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

* GCC- Doubt
@ 2001-09-05  3:45 m_shanmugasundaram.cgmaersk
  2001-09-05 16:15 ` Randall R Schulz
  0 siblings, 1 reply; 3+ messages in thread
From: m_shanmugasundaram.cgmaersk @ 2001-09-05  3:45 UTC (permalink / raw)
  To: cygwin

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/

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

end of thread, other threads:[~2001-09-06  2:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-06  2:03 GCC- Doubt m_shanmugasundaram.cgmaersk
  -- strict thread matches above, loose matches on Subject: below --
2001-09-05  3:45 m_shanmugasundaram.cgmaersk
2001-09-05 16:15 ` Randall R Schulz

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