This is the mail archive of the cygwin@sources.redhat.com 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]

Re: How to execute


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


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