NASM include files
Posted: Sun Jun 26, 2005 2:22 am
I've been trying to use NASM under CYGWIN and I find that I cannot have the .inc files (includes) in some other directory and use the -i option with it..
When I have the .inc files in the same src directory they work fine. Is there something else I should do?
The command i use is
and the output with that is
I've used in my test1.asm file.
When I have the .inc files in the same src directory they work fine. Is there something else I should do?
The command i use is
Code: Select all
nasm -i/cygdrive/c/projects/test/includes -f elf -w+orphan-labels /cygdrive/c/projects/test/src/test1.asm -o /cygdrive/c/projects/test/out/test1.o
Code: Select all
/cygdrive/e/projects/MyOS/src/test1.asm:10: fatal: unable to open include file `test.inc'
Code: Select all
%include "test.inc"