| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <COL101-W78FF17A5ECE7391818598E67A0@phx.gbl> |
| From: | Jay <jayk123 AT hotmail DOT com> |
| To: | <brian AT dessent DOT net>, <cygwin AT cygwin DOT com> |
| Subject: | RE: compilation - cygwin -mno-cygwin-flag |
| Date: | Wed, 6 Aug 2008 02:08:40 +0000 |
| In-Reply-To: | <1217978691.14700.ezmlm@cygwin.com> |
| References: | <1217978691 DOT 14700 DOT ezmlm AT cygwin DOT com> |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id m7629VVi005498 |
> [Brian] Using -mno-cygwin switches the compiler
> into MinGW personality mode. You cannot
> mix and match Cygwin and MinGW libraries.
> If you use-mno-cygwin then you must ensure
> that *all* libraries that any component of
> your software links with were built as MinGW
> libraries. You can't let any Cygwin libs enter
> the equation.
Can the ABIs be unifed?
line up struct stat, or make thin wrappers?
line up errno.h?
lineup lseek/fseek flags? (probably already the case)
use the larger of the two jmpbuf sizes?
keep FILE* opaque?
Maybe line up just its size, if stdin/out/err are defined to be
elements in an array.
either line up ctype's data, or use real function calls?
etc.?
Under a -slightly-slower-but-more-compatible switch?
ABI multiplicity bugs me..
I realize that it might be too late, at least without a "thin translation layer",
and even then. Reasonable for like stat, but not really for errno.h, for example.
- Jay
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |