delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/22/04:08:32

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" <yinwei AT utu DOT fi>
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
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019