X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <4795B25A.7040409@utu.fi> Date: Tue, 22 Jan 2008 11:07:38 +0200 From: "Alexander(Wei) Yin" User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: problem in compiling c program Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/