public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-apps@cygwin.com
Subject: Re: GCC dependencies (attn David Billinghurst)
Date: Mon, 15 Aug 2011 07:47:00 -0000	[thread overview]
Message-ID: <20110815074628.GC25129@calimero.vinschen.de> (raw)
In-Reply-To: <4E4853CA.8050507@lysator.liu.se>

On Aug 15 01:01, Peter Rosin wrote:
> Den 2011-08-14 13:20 skrev Corinna Vinschen:
> > On Aug 13 18:20, Peter Rosin wrote:
> >> Den 2011-08-13 13:28 skrev Corinna Vinschen:
> >>> 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:
> >>
> >> It's "a.exe" for cygwin native.
> > 
> > I know.  That was my point.  On other systems it's called a.out, on
> > Cygwin it's called a.exe.  So, if you try to learn C using the good old
> > K&R book from 1983, you're asked to compile hello.c and then call a.out.
> > Doesn't work on Cygwin for obvious reasons.  Why on earth didn't the GCC
> > folks decide to name the output file a.out.exe, so you can run "hello,
> > world" by running a.out as well?
> 
> Oops, sorry for the noise. Here I was thinking you had suffered from a brain
> fart or something.

I did.   The K&R book has been published in 1978, not 1983.  That was
the publishing date of the german translation which I purchased in a
feeble moment way back when.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

  reply	other threads:[~2011-08-15  7:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-27  3:12 Yaakov (Cygwin/X)
2011-07-28 11:56 ` David Billinghurst
2011-07-29 23:37   ` Yaakov (Cygwin/X)
2011-07-30  0:26 ` Yaakov (Cygwin/X)
2011-08-09 18:45 ` Dave Korn
2011-08-09 21:46   ` David Billinghurst
2011-08-12 12:09   ` Yaakov (Cygwin/X)
2011-08-12 12:41     ` Yaakov (Cygwin/X)
2011-08-13 14:12       ` Corinna Vinschen
2011-08-14 19:30         ` Yaakov (Cygwin/X)
2011-08-15  4:03           ` Yaakov (Cygwin/X)
2011-08-15  7:42             ` Corinna Vinschen
2011-08-16 12:33           ` Dave Korn
2011-08-12 15:49     ` Dave Korn
2011-08-12 16:21       ` Yaakov (Cygwin/X)
2011-08-13 11:28         ` Corinna Vinschen
2011-08-13 16:20           ` Peter Rosin
2011-08-14 11:20             ` Corinna Vinschen
2011-08-14 23:01               ` Peter Rosin
2011-08-15  7:47                 ` Corinna Vinschen [this message]
2011-10-16 21:19           ` Yaakov (Cygwin/X)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110815074628.GC25129@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-apps@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).