Author Topic: Using NASM  (Read 6773 times)

Orbit45244

  • Guest
Using NASM
« on: August 30, 2005, 11:34:12 PM »
How do I use NASM after it has been compiled on CYGWIN on Windows XP?

Offline Frank Kotler

  • NASM Developer
  • Hero Member
  • *****
  • Posts: 2667
  • Country: us
Re: Using NASM
« Reply #1 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

nobody

  • Guest
Re: Using NASM
« Reply #2 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.