This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem in compiling c program


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]