delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/25/21:11:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001126021117.669.qmail@web122.yahoomail.com>
Date: Sat, 25 Nov 2000 18:11:17 -0800 (PST)
From: Skelmax <skel777 AT yahoo DOT com>
Subject: "hello world" does not compile
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

Hello,

I am new to gcc. I wrote my first program:

/* File: hello_world.c */

#include <stdio.h>

main()
{
   printf("Hello world!\n");
}

This program is saved in a file: test.c, which is
located in C:\cygwin\bin directory.
But whenever I am trying to compile it with this line:
c:\cygwin\bin>gcc test.c -o test.exe
I am getting this error:

GCC: installation problem, cannot exec `as': No such
file or directory

Moreover, I am getting the same error, if I will try
to compile the above program with this line too:
c:\cygwin\bin>gcc test.c

The error message does not give me any chance to
figure out what is wrong. Where this 'as' came from?
It is nowhere in my program. Please help me ;-)

Max


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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