This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C compiler cannot create executables


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]