delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/09/09/06:35:26

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Re: Default compiler behaviour for b19
9 Sep 1997 06:35:26 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199709091041.DAA19490.cygnus.gnu-win32@rtl.cygnus.com>
Original-To: awesley AT mail DOT acquerra DOT com DOT au
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <340F5F13.1843@acquerra.com.au> from "Anthony Wesley" at Sep 5, 97 11:23:31 am
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019