Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 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 Reply-To: cygwin AT cygwin DOT com To: Al Bogner 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: References: <200408082127 DOT 15730 DOT cygwin AT ml04c DOT pinguin DOT uni DOT cc> <200408092303 DOT 22071 DOT cygwin AT ml04c DOT pinguin DOT uni DOT cc> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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/