X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: From: Jay To: , 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> Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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/