NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: Orbit45244 on August 30, 2005, 11:34:12 PM

Title: Using NASM
Post by: Orbit45244 on August 30, 2005, 11:34:12 PM
How do I use NASM after it has been compiled on CYGWIN on Windows XP?
Title: Re: Using NASM
Post by: Frank Kotler on August 31, 2005, 09:56:24 AM
As I recall, Nasm compiled under Cygwin will run *only* under Cygwin. Other than that, it should work like Nasm compiled on any other platform - "nasm -f -o outfile infile". I imagine the output format you'd want is "-f win32".  See the manual for other options you might want.

Best,
Frank
Title: Re: Using NASM
Post by: nobody on September 02, 2005, 05:35:02 PM
> As I recall, Nasm compiled under Cygwin
> will run *only* under Cygwin.

Actually, programs compiled under Cygwin
require cygwin1.dll -- which is part of
the Cygwin installation.

Though you may want to check the license
of cygwin1.dll before you distribute it
with a Cygwin-built nasm.exe.