delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/10/14:10:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 10 Aug 2004 14:09:53 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Al Bogner <cygwin AT ml04c DOT pinguin DOT uni DOT cc>
cc: cygwin AT cygwin DOT com
Subject: Re: C compiler cannot create executables
In-Reply-To: <200408092303.22071.cygwin@ml04c.pinguin.uni.cc>
Message-ID: <Pine.GSO.4.58.0408101407330.14233@slinky.cs.nyu.edu>
References: <200408082127 DOT 15730 DOT cygwin AT ml04c DOT pinguin DOT uni DOT cc> <Pine DOT GSO DOT 4 DOT 58 DOT 0408081647450 DOT 4727 AT slinky DOT cs DOT nyu DOT edu> <200408092303 DOT 22071 DOT cygwin AT ml04c DOT pinguin DOT uni DOT cc>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 9 Aug 2004, Al Bogner wrote:

> Am Sonntag, 8. August 2004 22:55 schrieb Igor Pechtchanski:
> > so, check that a simple "hello world" program can be
> > compiled with gcc and executed.
>
> As written in the other mail in this thread, binutils helped, but I
> tried 3 other packages (lame, smake and cdrtools) and I had
> problems with all 3. See new thread..
>
> Sorry, I did a lot of bash scripts, but never coded in C. So do you
> have a link, where I can read how to do make a simple "hello world"
> program or can you explain in a few lines, what I have to do. I
> assume it is very simple.

----------------------------- CUT HERE -----------------------------
#include <stdio.h>
int main(int ac, char *av[]) { printf("Hello world\n"); return 0; }
------- Warning: cutting here may damage your screen surface -------

> > Oh, and in the future, please *attach* the output of cygcheck
>
> Sorry, it is the first mailinglist I am subscribed, which wants
> attachments.

See

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

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

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