problem in compiling c program

Alexander(Wei) Yin yinwei@utu.fi
Tue Jan 22 14:17:00 GMT 2008


Dear All,

I have met a strange problem when I try to use cygwin to compile a basic 
hello world in C. The program is correct and have been tested under Linux.

I have installed a full version of cygwin 2.573.2.2. I can see there is 
already a GCC compiler of version 3.4.4 on it.

However, when I tried to compile the hello world program which is called 
"hello.c" by "gcc -Wall hello.c -o hello", the compiler seemed to be not 
working. There's no executable and no error/warning as well. I have 
re-install the cygwin for several times and the problem is still there.

When I tried to install a new version of GCC on cygwin, I got the 
following information from the log:
check whether the C compiler (GCC) works ........... no

Could anybody kindly help me out of this problem?

Thank you.

Alexander

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



More information about the Cygwin mailing list