这个问题我知道错在Makefile上,因为其他文件都能生成,就myoneos(hairbote).img不会生成
boot.nas是ipl10.nas otherpack.c是bootpack.c func.nas是naskfunc.nas OSbote.nas是asmhead.nas
myoneos.img : boot.bin OSbote.sys
$(EDIMG) imgin:../z_tools/fdimg0at.tek \
wbinimg src:boot.bin \len:512 from:0 to:0 \
cp from:OSbote.sys to:@: \
imgout:myoneos.img
错误信息:
../z_tools/make.exe -r bulid
make.exe[1]: Entering directory `X:/OS/main'
../z_tools/make.exe -r myoneos.img
make.exe[2]: Entering directory `X:/OS/main'
../z_tools/nask.exe boot.nas boot.bin boot.lst
../z_tools/nask.exe OSbote.nas OSbote.bin OSbote.lst
../z_tools/cc1.exe -I../z_tools/haribote/ -Os -Wall -quiet -o otherpack.gas otherpack.c
otherpack.c:6:2: warning: no newline at end of file
../z_tools/gas2nask.exe -a otherpack.gas otherpack.nas
../z_tools/nask.exe otherpack.nas otherpack.obj otherpack.lst
../z_tools/nask.exe func.nas func.obj func.lst
../z_tools/obj2bim.exe @../z_tools/haribote/haribote.rul out:otherpack.bim stack:3136k map:otherpack.map \
otherpack.obj func.obj
../z_tools/bim2hrb.exe otherpack.bim otherpack.hrb 0
cmd /c copy /B OSbote.bin+otherpack.hrb OSbote.sys
OSbote.bin
otherpack.hrb
已复制 1 个文件。
../z_tools/edimg.exe imgin:../z_tools/fdimg0at.tek \
wbinimg src:boot.bin \len:512 from:0 to:0 \
cp from:OSbote.sys to:@: \
imgout:myoneos.img
wbinimg command error.
make.exe[2]: *** [myoneos.img] Error 25
make.exe[2]: Leaving directory `X:/OS/main'
make.exe[1]: *** [bulid] Error 2
make.exe[1]: Leaving directory `X:/OS/main'
..\z_tools\make.exe: *** [run] Error 2
Makefile: