Mail Archives: cygwin/2007/02/01/23:35:41
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Christopher Faylor wrote:
> How about if we eliminate -mno-cygwin from future releases and either
> provide our own mingw cross-tools or wrap the offerings from mingw.org?
> This would mean that instead of saying 'gcc -mno-cygwin', you'd say:
> 'i686-mingw-gcc' which would, I know, make a few computers spontaneously
> self-destruct however, I really don't think that the -mno-cygwin belongs
> in gcc. No other port of gcc has anything like this.
Pros:
1) Makes gcc package *much* easier to develop, encouraging faster
version bumps and perhaps more involvement in gcc development (I, for
one, would like to see a shared libstdc++, etc.).
2) Eliminate most new-user confusion.
3) Eliminate confusion on the part of software developers who think that
they can port to Cygwin with -mno-cygwin. (Go figure. Somehow even
_developers_ can't figure that one out.)
4) Closer to behaviour on other platforms.
Cons:
There are a number of build systems that rely on -mno-cygwin; mozilla
and company come to mind as a major example. (Then again, as much as I
like and use their software, their build system is IMO broken, and
that's the reason none of it is in Ports.)
Bottom line:
There's much to be gained on our part, and I don't see why we should be
required to keep this around because of these other cases, which are not
directly related to Cygwin itself. Therefore IMHO I suggest:
* Scrapping -mno-cygwin.
* Making a separate --host=i686-pc-cygwin --target=i686-pc-mingw32
binutils and gcc. (cross.cygclass has elementary support for this, but
I'm sure it needs more work.)
* Handling -mno-cygwin with a special error message directing the user
to use i686-pc-mingw32-gcc.
Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFwr99piWmPGlmQSMRCL5uAKDJDzymlzqW0zfP4QlNOlteutsfbwCghB+x
NvBsIwbBZd2OCQvl+GwI49o=
=r5nJ
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -