delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/16/09:48:21

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
Date: Tue, 16 Jan 2001 07:49:26 -0700
From: Mark Paulus <mark DOT paulus AT wcom DOT com>
Subject: Re: How to execute
In-reply-to: <013801c07ff4$4d89d400$5f0219ac@tcg.mitsumi.co.jp>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>,
"Ramesh.V" <ramesh AT tcg DOT mitsumi DOT co DOT jp>
Reply-to: Mark Paulus <mark DOT paulus AT wcom DOT com>
Message-id: <0G7900KN0FLOOG@pmismtp02.wcomnet.com>
MIME-version: 1.0
X-Mailer: PMMail 2000 Professional (2.10.2010) For Windows 2000 (5.0.2195;1)
Priority: Normal

Generally, any file that ends in .o is not executable. By convention, this is a 
relocatable object file, which still needs to be linked in order to create an
executable binary.   Look in your directory for a file called "a.exe"  (On a 
real unix box, this would be called a.out).  If you want your program to be called
helloworld, or helloworld.exe, then give you compiler statement a 
"-o helloworld" or "-o helloworld.exe" option.

Cygwin is modeled on a unix operating system, so you might want
to look at a "Unix for Dummies" or any other intro to unix book for more
information.

On Tue, 16 Jan 2001 11:41:21 -0800, Ramesh.V wrote:

>Hi all,
>
>Iam new to cygwin . Iam able to compile a simple program hellowold.c but =
>when i try to execute helloworld.o from my home directory , the =
>following message is observed : BASH : /usr/bin/helloworld.o: No such =
>file or directory.=20
>
>Can any body kindly tell me how to execute any program/ where can i find =
>more info.
>
>Thanks in advance.
>
>Ramesh.
>
>
>
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
>




--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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