Skip to content

02_day 运行make run出错 process_begin: CreateProcess((null), copy helloos.img ..\z_tools\qemu\fdimage0.bin, ...) failed. #13

@verifierlife

Description

@verifierlife

在Day 2的最后运行make run时,报以下错误:
D:\makeselfos\tolset\helloos5>..\z_tools\make.exe run
../z_tools/make.exe img
make.exe[1]: Entering directory D:/makeselfos/tolset/helloos5' ../z_tools/make.exe -r helloos.img make.exe[2]: Entering directory D:/makeselfos/tolset/helloos5'
../z_tools/nask.exe ipl.nas ipl.bin ipl.lst
../z_tools/edimg.exe imgin:../z_tools/fdimg0at.tek
wbinimg src:ipl.bin len:512 from:0 to:0 imgout:helloos.img
make.exe[2]: Leaving directory D:/makeselfos/tolset/helloos5' make.exe[1]: Leaving directory D:/makeselfos/tolset/helloos5'
copy helloos.img ..\z_tools\qemu\fdimage0.bin
process_begin: CreateProcess((null), copy helloos.img ..\z_tools\qemu\fdimage0.bin, ...) failed.
make (e=2): 系统找不到指定的文件。
..\z_tools\make.exe: *** [run] Error 2

如果只是运行run,就没有出错。请问一下这是什么原因?

PS:我的Makefile文件中run的命令是这样的:
run :
../z_tools/make.exe img
copy helloos.img ..\z_tools\qemu\fdimage0.bin
../z_tools/make.exe -C ../z_tools/qemu

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions