This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: GCC dependencies (attn David Billinghurst)
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Sun, 16 Oct 2011 16:19:09 -0500
- Subject: Re: GCC dependencies (attn David Billinghurst)
- References: <1311736317.5672.85.camel@YAAKOV04> <4E41804B.9060806@gmail.com> <1313150949.7828.18.camel@YAAKOV04> <4E454B52.2040801@gmail.com> <1313166071.7828.51.camel@YAAKOV04> <20110813112813.GD4098@calimero.vinschen.de>
On Sat, 2011-08-13 at 13:28 +0200, Corinna Vinschen wrote:
> here's a minor nit, but that bugs me for a while now.
>
> $ cc hello.c
> $ ./a.out
> bash: ./a.out: No such file or directory
>
> I would like to see that GCC for Cygwin creates the output file
> "a.out.exe", so the result is the same on Unix/Linux and Cygwin:
>
> $ cc hello.c
> $ ./a.out
> hello, world
Besides that POSIX requires a.out for the default output for c99 and
fort77.
Yaakov