This is the mail archive of the
mailing list for the Cygwin project.
Re: GCC -mno-cygwin vs mingw32-gcc cross environment.
- To: "Paul Garceau" <pgarceau at qwest dot net>,<cygwin-apps at cygwin dot com>
- Subject: Re: GCC -mno-cygwin vs mingw32-gcc cross environment.
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Sun, 22 Apr 2001 10:43:13 +1000
- References: <3AE07A27.3AAC7BE5@yahoo.com>; from firstname.lastname@example.org on Fri, Apr 20, 2001 at 02:04:23PM -0400 <3AE19065.1131.36976B@localhost>
----- Original Message -----
From: "Paul Garceau" <email@example.com>
Sent: Sunday, April 22, 2001 6:51 AM
Subject: Re: GCC -mno-cygwin vs mingw32-gcc cross environment.
> Hi folks,
> On 20 Apr 2001, at 14:50, the Illustrious Christopher Faylor wrote:
> > Without gettin too much into the semantics of the word "deprecate",
> > think it makes sense to strongly discourage use of -mno-cygwin if
> > is a true cross-compiler available.
> I would agree with Chris...not to "deprecate", as Earnie states, but
> to discourage the use of -mno-cygwin for anyone not familiar enough
> with the differences between using -mno-cygwin vs not using -mno-
> There has been a *ell of a lot of work put in to getting -mno-cygwin
> to work over the years. I don't believe that effort should be wasted
> by eliminating (or "deprecating", as Earnie puts it) the -mno-cygwin
> If there is a "true cross-compiler available", as an "option", such
> things should be pre-installed with any cygwin distributions. Not
> everyone uses autoconfig, nor does everyone need to. Autoconfig is a
> "convenience", not a "requirement".
> When it comes to building using the -mno-cygwin switch, I can see how
> it would be "convenient" to not type the extra 11 characters or so.
> Autoconfig, if it is as great as some say, should be capable of
> choosing whether to use -mno-cygwin vs. a "true cross compiler".
And configure will choose a cross compiler with the --target=TARGET
switch. Asking autoconf scripts to assume that a cross compiler is
present doesn't make sense.
Important thing to remember: mingw and cygwin are *different* platforms.
> Cygwin and cross-compilers are not the same thing and should not be
> included in the same distribution/setup process. Again, ultimately,
> is the developer who should choose, the casual end user who just
> downloaded Cygwin because they wanted to build something like "Crystal
> Space" using the -mno-cygwin switch should not be burdened with trying
> to build a cross-compiler instead of simply running "make".
Developers are the folk who are able to build a cross compiler - IMO end
users should never have to do anything other than configure && make &&
make install and edit a basic config file or run a post-install setup
> > So, are you proposing that you will maintain a i686-pc-mingw32-gcc
> > Earnie? One problem is that this will mean keeping at least a
> > version of binutils/ld, too, since ld has some builtin defaults that
> > not be appropriate for mingw.
> Thereby forcing added maintenance requirements on people who don't
> really have the time to be dealing with such things, as it is.
a) maintainers are much more efficient than every new crystal space user
learning how to build a cross-compile-tool-chain.
b) someone maintains -mno-cygwin now. And we get what, 1-2 questions a
day on -mno-cygwin?
> Ultimately, seems easier to enable autoconfig under Mingw, and let the
> people download Mingw (from the appropriate site) minus the generic
> binutils (ie those duplicated between cygwin and the cygwin with -mno-
> cygwin enabled), as an optional "plugin" sort of thing to Cygwin
> -mno-cygwin switch). Especially if they wish to build -mno-cygwin
> based executables or libs.
What's needed to enable configre scripts under mingw? autoconf requires
a unix-like environment (I don't know the exact requirements, but sh is
definately there.) Of course if someone wants to fully port ash or bash
to mingw it might work better. It does step past the _minimalist_ goals
though :[ I'm not a mingwer, and don't claim to know or understand -
perhaps a mingw'er can comment here - would including autoconf && sh as
a core part of mingw lineup with the mingw philosophy?
> In terms of "ld"...well, there are obvious differences between the
> cygwin "ld" and the "ld" which I would recommend when using the -mno-
> cygwin switch.
> Cross compiler, no, new cygwin branch...possibly...
What sort of branch are you suggesting - The only suggestions I get out
of your comments above are
* a new LD
* autoconf scripts running properly on mingw
* don't alter cygwin.
> Just my comments on the subject...
> > cgf
> Paul G.
> Nothing real can be threatened.
> Nothing unreal exists.
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple