public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: cygwin@cygwin.com
Subject: Re: make -mno-win32 the gcc default?
Date: Wed, 10 Jan 2001 14:26:00 -0000	[thread overview]
Message-ID: <4.3.1.2.20010110170507.021e59e0@pop.ma.ultranet.com> (raw)
In-Reply-To: <20010110170005.A5219@redhat.com>

At 05:00 PM 1/10/2001, Christopher Faylor wrote:
>On Wed, Jan 10, 2001 at 04:36:41PM -0500, Larry Hall (RFK Partners, Inc) wrote:
> >At 04:31 PM 1/10/2001, Christopher Faylor wrote:
> >>So, what does everyone think about making -mno-win32 the default for Cygwin?
> >>
> >>This would mean that WIN32 variables would not be defined by gcc by default.
> >>It would require a -mwin32 switch for these to be activated.
> >>
> >>Earnie has been proposing this and I sort of like the idea but dread the
> >>potential hue and cry that could result.
> >>
> >>So, is the hue and cry from the lack of WIN32 counterbalanced by potentially
> >>easier UNIX porting?
> >
> >
> >Yes.  It fits with the stated goals of Cygwin.  We can counter the outcry 
> >with a nice FAQ so we at least will not have to repeat ourselves constantly.
> >
> >I'm in!
>
>You mean like this?
>
>     Why am I getting errors from "windef.h"?
>     Why am I getting errors saying simple things like "HANDLE" are undefined?
>     Why can't I compile my Windows program with Cygwin 1.1.8?  It worked fine
>     with B19!
>
>     Please send email to lhall@rfk.com and he'll explain everything.
>
>:-)
>
>cgf


Yes, something like that.;-)

Seriously though, I'm betting on the fact that its easier to answer questions
about why Win32 programs don't compile by default than it is to explain why
Cygwin won't build and run GNU/UNIX packages.  Of course, as Chuck Wilson
points out, there will be those packages which are ported to both UNIX and
Windows that seem to work right now because they make use of some Win32 
stuff that won't be allowed with this change.  While I expect most of these
will still build, they might break when running.  Questions about these 
will potentially be prolific at the beginning but at least the solution is
cleanly stated (port it properly) unless the functionality in Cygwin is 
missing.  There's some grey area but I expect the result for any strict 
Win32 program will be that it won't compile which is handled by 1 simple
FAQ (i.e. add the -mwin32 flag for Windows programs).  The result for any
UNIX port will be either the package won't compile or program errors/bugs 
(due to bad porting or lack of Cygwin support).  Another general FAQ can
handle that too.  While the initial volume of all these complaints may be 
high, it will tend to force the packages and Cywgin to get better.  Add to 
this the fact that we won't have people wondering why their favorite GNU 
package uses Win32 block of code under Cygwin instead of the UNIX/POSIX 
code and I think this will be a plus (or at least easier to explain!;-))  

Thus ends my diatribe on how things work in a perfect world.;-)



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2001-01-10 14:26 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-10 13:30 Christopher Faylor
2001-01-10 13:40 ` Larry Hall (RFK Partners, Inc)
2001-01-10 13:59   ` Christopher Faylor
2001-01-10 14:26     ` Larry Hall (RFK Partners, Inc) [this message]
2001-01-10 13:54 ` Charles Wilson
2001-01-10 14:02   ` Christopher Faylor
2001-01-10 14:45     ` MarK Stucky
2001-01-10 15:01       ` Gerrit P. Haase
2001-01-10 15:19         ` Gerrit P. Haase
2001-01-10 15:26           ` Larry Hall (RFK Partners, Inc)
2001-01-10 17:18             ` Earnie Boyd
2001-01-10 23:58             ` Gerrit P. Haase
2001-01-11  7:57               ` Larry Hall (RFK Partners, Inc)
2001-01-11  9:23                 ` Gerrit P. Haase
2001-01-10 15:58         ` MarK Stucky
2001-01-10 17:21           ` Earnie Boyd
2001-01-10 18:17             ` Earnie Boyd
2001-01-10 17:30     ` Earnie Boyd
     [not found]   ` <20010110170527.B21342@volta.certicom.com>
2001-01-10 14:14     ` Charles Wilson
2001-01-10 14:27       ` Christopher Faylor
2001-01-10 14:33       ` Larry Hall (RFK Partners, Inc)
2001-01-10 23:36       ` Egor Duda
2001-01-11  0:05         ` Gerrit P. Haase
2001-01-11  0:14         ` Charles Wilson
2001-01-11 12:29           ` Earnie Boyd
2001-01-11 12:58             ` Christopher Faylor
2001-01-10 13:36 Robinow, David
2001-01-10 16:25 ` David A. Cobb

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=4.3.1.2.20010110170507.021e59e0@pop.ma.ultranet.com \
    --to=lhall@rfk.com \
    --cc=cygwin@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).