delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/20/01:29:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=RPlmAeA4JLs5ZZUYxXgoCKrQO76lW781SOIdEqscS1l
rfQahKWMV6IMNwqx4w+fzRK0nC8ELzctVp5VeWapykf5pMnEPaKXADUaxjgKjZe2
qsu3lztmcimH+tzJOOC/HqrCUyiRWlWn3Uos9oLibhNPM1njoh9Iojisd2bEItXw
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=wY+k7aoAWYDi9bGYdLWUNzkhL/A=; b=ZxhEgAocSZlbuXluK
wFs0P8Oc9blZ1Q7c1Rqi9NWX5IuNa9FZS2M7gXhotKmjqqufQqmXff84DZNFHivw
sssExtlpaBhGzBJ5YZovCaT+E/1ZNic4u8c1PPYPe4dyFvATDmTfYuo1oJTfP/eM
MSNZuj6lIJBHJn49Ckr4uHBEnY=
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
X-Spam-SWARE-Status: No, score=-5.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_YG autolearn=ham version=3.3.1
X-Received: by 10.180.36.235 with SMTP id t11mr30996556wij.1.1366435778719; Fri, 19 Apr 2013 22:29:38 -0700 (PDT)
Message-ID: <517227C0.2010509@gmail.com>
Date: Sat, 20 Apr 2013 07:29:36 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Why can't I compile HelloWorld ?
References: <CANW2+ivR6B-3DpjLySakf607UW2ve5-Kkp4_jUhR44VgMOY9Lw AT mail DOT gmail DOT com>
In-Reply-To: <CANW2+ivR6B-3DpjLySakf607UW2ve5-Kkp4_jUhR44VgMOY9Lw@mail.gmail.com>

On 4/20/2013 7:24 AM, 1xx wrote:
> Hi all!
>
> I started gcc for the first time in one month.
> I have noticed that the compiler does not operate correctly.
>
> $ cat hello.c
>
> #include <stdio.h>
>
> int
> main(void)
> {
>          printf("hello!\n");
>          return 0;
> }
>
>
> $export LANG=C
> $ gcc hello.c
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o): In
> function `main':
> /usr/src/debug/cygwin-1.7.17-1/winsup/cygwin/lib/libcmain.c:39:
> undefined reference to `_WinMain AT 16'
> collect2: ld returned 1 exit status
>
>
> I was able to compile the more complicated program one month ago.
> Why can't I compile?
> What should I do in order to compile Hello World again?


>
> Thanks .
>

please follow:
> Problem reports:       http://cygwin.com/problems.html

specially:
"Run cygcheck -s -v -r > cygcheck.out and include that file as an 
attachment in your report. Please do not compress or otherwise encode 
the output. Just attach it as a straight text file so that it can be 
easily viewed."




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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