Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: How to execute In-reply-to: <013801c07ff4$4d89d400$5f0219ac@tcg.mitsumi.co.jp> To: "cygwin AT cygwin DOT com" , "Ramesh.V" Reply-to: Mark Paulus 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) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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