This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: How to execute
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>,"Ramesh.V" <ramesh at tcg dot mitsumi dot co dot jp>
- Subject: Re: How to execute
- From: Mark Paulus <mark dot paulus at wcom dot com>
- Date: Tue, 16 Jan 2001 07:49:26 -0700
- Reply-to: Mark Paulus <mark dot paulus at wcom dot com>
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