HowToCompileASMFile
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:1k
- Just run makeasmfiles.sh or makeasmfiles.bat
- =======================================================
- To use 'nasm' to assemble the .asm file on linux do:
- nasm -DELF -felf -o elf/alphablend.o alphablend.asm
- To use 'nasm' to assemble the .asm for windows do:
- nasmw -DCOFF -fcoff -o coff/alphablend.obj alphablend.asm
- or
- nasmw -DWIN32 -fwin32 -o win32/alphablend.obj alphablend.asm
- Note: On windows 'nasm' is usually 'nasmw'.
- valid output formats for -f are (`*' denotes default):
- * bin flat-form binary files (e.g. DOS .COM, .SYS)
- aout Linux a.out object files
- aoutb NetBSD/FreeBSD a.out object files
- coff COFF (i386) object files (e.g. DJGPP for DOS)
- elf ELF32 (i386) object files (e.g. Linux)
- as86 Linux as86 (bin86 version 0.3) object files
- obj MS-DOS 16-bit/32-bit OMF object files
- win32 Microsoft Win32 (i386) object files
- oldrdf Relocatable Dynamic Object File Format v1.1
- rdf Relocatable Dynamic Object File Format v2.0
- ieee IEEE-695 (LADsoft variant) object file format