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


If you are using the default naming conventions, and you have a .o file for your program, you must link it to make an executable
e.g. 'gcc helloworld.o' That executable will not be in /usr/bin unless you copy it there; by default, it would be in your current
directory; by default, in cygwin, it's named a.exe, and may be executed by typing
./a or ./a.exe

----- Original Message -----
From: "Ramesh.V" <ramesh@tcg.mitsumi.co.jp>
To: <cygwin@cygwin.com>
Sent: Tuesday, January 16, 2001 11:41 AM
Subject: How to execute


> 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]