问题
I am using nasm assembler and 32 bit Ubuntu.When I try to execute a program,"unable to open include file 'io.mac' " error occurs.My compile commands :
nasm -f elf32 fact.asm
After I have searched this problem in some sites,I try :
nasm -f elf32 fact.asm -l fact.lst
However,error has not changed.Pls help.
回答1:
If you haven't got the file, this may be it:
http://www.scs.carleton.ca/sivarama/org_book/org_book_web/source_code.html
If you have the file, but it isn't in the current directory, the -i
switch may help.
http://www.nasm.us/xdoc/2.11/html/nasmdoc2.html#section-2.1.16
来源:https://stackoverflow.com/questions/21169375/unable-to-open-include-file-io-mac-assembly