public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Geoffrey Noer <noer@cygnus.com>
To: awesley@mail.acquerra.com.au
Cc: gnu-win32@cygnus.com
Subject: Re: Default compiler behaviour for b19
Date: Tue, 09 Sep 1997 03:50:00 -0000	[thread overview]
Message-ID: <199709091041.DAA19490@rtl.cygnus.com> (raw)
In-Reply-To: <340F5F13.1843@acquerra.com.au>

Anthony Wesley wrote:
> 
> Perhaps I am misreading the comments on the gnuwin32 home page, but it
> looks like Cygnus are proposing to have "gcc -o foo foo.c" generate
> native win32 binaries by default and not link with cygwin.dll. To
> compile UNIX-ish tools and link with the cygwin.dll library you will
> have to supply an extra command line option.

Yes, and this may still happen at some point down the road.  Beta 19 will
still default to linking in Cygwin.dll.

> This seems silly to me, and the wrong way around. After all, gcc and all
> the nice tools and development environment came from the UNIX land, so
> surely generating UNIX-ish binaries should be the default, making
> porting UNIX applications and tools the native mode, whereas generating
> pure win32 binaries should be the "foreign" mode.

Perhaps, it depends on whether the goal is a Unix compiler running under
Win32 or a Win32 compiler running under Win32 with a Unix compatibility
option...

> It would be really strange to have "gcc -o foo foo.c" not work as
> expected by people coming from the UNIX world.

The auto-append of .exe by gcc is something that has been argued to death
on gcc mailing lists.  I have mixed feelings about it.

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

  reply	other threads:[~1997-09-09  3:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-04 21:18 Anthony Wesley
1997-09-09  3:50 ` Geoffrey Noer [this message]
1997-09-09 23:33   ` Fergus Henderson
1997-09-11  9:20     ` Christian Soeller
1997-09-09 23:33 ` Andrey A. Kulaga
1997-09-11 10:10   ` AECEULA, QUEST Team
1997-09-12  9:32     ` Earnie Boyd
1997-09-12 12:07     ` M. Halpin
1997-09-12 20:49       ` Where is b19 Daniyal Syed
1997-09-13 11:51         ` Michael Hirmke
1997-09-09  3:50 Default compiler behaviour for b19 Sonic Junior
1997-09-10 22:54 Colin Peters

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=199709091041.DAA19490@rtl.cygnus.com \
    --to=noer@cygnus.com \
    --cc=awesley@mail.acquerra.com.au \
    --cc=gnu-win32@cygnus.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).