GCC Compilation Error

2003-10-06 Thread Paul Bezzam
Hello, I have a question: I recently installed Cygwin, and I am trying to compile a C program. But I get this message after I use the compile command: /usr/lib/gcc-lib/i686-pc-cygwin/3.0/../.i686-pc-cygwin/bin/ld: Cannot find -luser32 collect2: ld returned 1 exit status I am pretty new at

Re: GCC Compilation Error

2003-10-06 Thread Igor Pechtchanski
On Mon, 6 Oct 2003, Paul Bezzam wrote: Hello, I have a question: I recently installed Cygwin, and I am trying to compile a C program. But I get this message after I use the compile command: /usr/lib/gcc-lib/i686-pc-cygwin/3.0/../.i686-pc-cygwin/bin/ld: Cannot find -luser32 collect2: ld

Re: GCC Compilation Error

2003-10-06 Thread Larry Hall
At 11:58 AM 10/6/2003, Paul Bezzam you wrote: Hello, I have a question: I recently installed Cygwin, and I am trying to compile a C program. But I get this message after I use the compile command: /usr/lib/gcc-lib/i686-pc-cygwin/3.0/../.i686-pc-cygwin/bin/ld: Cannot find -luser32 collect2: ld

Re: GCC Compilation Error

2003-10-06 Thread Paul Bezzam
Igor, Thanks a lot for pointing me in the right direction. I did install the package, and there was no error message. However, when I try to execute the .exe file that results in compiling the C file(hello.c), I get: bash: hello.exe: command not found Can you please offer your insight?

Re: GCC Compilation Error

2003-10-06 Thread Paul Bezzam
Igor, Never mind. I think I was able to get this.. I included a '.' in the PATH variable, and everything is fine. Thank you again for your help. Paul On Mon, 6 Oct 2003, Paul Bezzam wrote: Igor, Thanks a lot for pointing me in the right direction. I did install the package, and there