Re: Really easy cygwin / gcc question
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Tue, 30 May 2006 18:46:42 GMT
"Default User" <defaultuserbr@xxxxxxxxx> writes:
Michael wrote:
Hi Vladimir,
I just used:
gcc -g test.c -o test.exe
I get no warnings or errors
Thanks for your help.
Don't top-post. Your replies belong following or interspersed with the
quotes.
As one person already mentioned, there is a progam called "test" on
most UNIX systems. Also, if you're running from the CYGWIN shell you
can't leave off the extension when you run it the way you can with
Windows or DOS. That's why progams developed on UNIX systems tend not
to have the .exe extension, as it doesn't mean (or do) anything special.
<WAY_OT>
Cygwin runs under Windows, so executables always have names ending in
".exe". You can omit the extension when you execute the program;
Cygwin does some magic to let you refer to the file as either "foo" or
"foo.exe". If there's a shell script called "foo" and an executable
called "foo.exe", it resolves the ambiguity in some manner that I
can't be bothered to remember.
</WAY_OT>
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.
- Follow-Ups:
- Re: Really easy cygwin / gcc question
- From: Default User
- Re: Really easy cygwin / gcc question
- References:
- Really easy cygwin / gcc question
- From: Michael
- Re: Really easy cygwin / gcc question
- From: Vladimir Oka
- Re: Really easy cygwin / gcc question
- From: Michael
- Re: Really easy cygwin / gcc question
- From: Default User
- Really easy cygwin / gcc question
- Prev by Date: Re: Really easy cygwin / gcc question
- Next by Date: Re: Simplicity has a future
- Previous by thread: Re: Really easy cygwin / gcc question
- Next by thread: Re: Really easy cygwin / gcc question
- Index(es):
Relevant Pages
|