delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE |
X-Spam-Check-By: | sourceware.org |
X-IronPort-Anti-Spam-Filtered: | true |
X-IronPort-Anti-Spam-Result: | AogFAFaeOUx8qVBz/2dsb2JhbACTf4YChj9xuzINhRoEg3mEU4I6 |
From: | Dean Scarff <dos AT scarff DOT id DOT au> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: nasm -- what format does cygwin use? |
References: | <4B19A77D DOT 3080704 AT tlinx DOT org> |
Date: | Mon, 12 Jul 2010 01:38:40 +0800 |
Message-ID: | <m3fwzpapgf.fsf@scarff.id.au> |
User-Agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin) |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
This is a *very* late reply to: http://sourceware.org/ml/cygwin/2009-12/msg00208.html > I am trying to compile a program that use nasm and it thought that > gnuwin32 was a format for nasm (don't know if it used to be, but it's > not now). > Does cygwin use standard linux format now 'elf', or is it using > win32?..or something else)? It looks like the list settled on the right answer, but I feel like a naughty maintainer having missed the thread (also because I should have added some backward-compatibility defaulting for -f gnuwin32). The -f gnuwin32 format was a hack which I removed once it was no longer needed, see here: http://www.cygwin.com/ml/cygwin/2007-11/msg00587.html Use -f win32 if you want to link the object file using the cygwin binutils, but note that the default object extension is .obj. The cofftest.asm and cofftest.c that come with the nasm test suite) can confirm that -f win32 works with the latest cygwin binutils and gcc. However, as of the nasm-2.08.02-1 release (RFU'd but not uploaded/announced yet) I've re-added -f gnuwin32, but only as an alias for -f win32 with .o extensions; hopefully this will avoid the confusion above from occuring again, and keep people's build scripts working too. -- Dean http://scarff.id.au/ -- software bugs and workarounds -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |