黒沢と申します.はじめまして. http://www.planet.sci.kobe-u.ac.jp/~takawata/d/resource/pecoff.tar.gz にある,pecoff.tar.gz をいただいてきて,ちょっとソースをいじったら hello.exe (PEACE のサンプル) が動いたのでパッチをお送りします. # ご迷惑でしたらすみません.捨ててくださっても結構です. hello.exe を動かすには,sys/kern/syscalls.master に,このメール本 文末尾のパッチをあてて, cd $SYS/kern; make init_sysent.c を実行してカーネルを作り直す必要もありました. ただ,PEACE のもう一つのサンプルである whello.exe を実行すると SIGSEGV で落ちますし,その他のプログラムを動かすと panic すること もあります.ということで,パッチをあてても完全なものになるわけでは ないのですが…… --- syscalls.master.org Sat Sep 2 10:36:19 2000 +++ syscalls.master Tue Sep 5 20:48:33 2000 @@ -428,7 +428,8 @@ 293 UNIMPL NOHIDE nosys 294 UNIMPL NOHIDE nosys 295 UNIMPL NOHIDE nosys -296 UNIMPL NOHIDE nosys +;296 UNIMPL NOHIDE nosys +296 NOPROTO BSD { int __getcwd(u_char *buf, u_int buflen); } netbsd___getcwd __getcwd_args int ; XXX 297 is 300 in NetBSD 297 STD BSD { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } 298 STD BSD { int fhopen(const struct fhandle *u_fhp, int flags); }