Hello, I am currently compiling ksh executable from source in windows
environment. I tried Cygwin, UWIN and MinGW several times but failed.

When tried with cygwin to compile ksh, there are some fatal errors like:

make: "/home/root/mmksh_source/src/cmd/nmake/Makerules.mk", line 392:
coshell open error [No such file or directory]
mamake [cmd/nmake]: *** exit code 1 making Makerules.mo
mamake: *** exit code 1 making cmd/nmake
make: makerules.mo: cannot read base rules


+ cc -D_BLD_DLL -O -I. -I/home/root/mmksh_source/src/cmd/3d
-I../../lib/libcs -I/home/root/mmksh_source/src/cmd/3d/../../lib/libcs
-I/home/root/mmksh_source/arch/cygwin.i386/include/ast -D_BLD_ast -D_BLD
_3d -D_PACKAGE_ast -D_BLD_cs -DDEBUG -DFS -DVCS -D_BLD_dll -c
/home/root/mmksh_source/src/cmd/3d/cs.c
In file included from
/home/root/mmksh_source/src/cmd/3d/../../lib/libcs/msglib.h:36:0,
                 from
/home/root/mmksh_source/src/cmd/3d/../../lib/libcs/msgbuf.c:26,
                 from /home/root/mmksh_source/src/cmd/3d/cs.c:58:
/home/root/mmksh_source/arch/cygwin.i386/include/ast/ast_dir.h:53:20: fatal
error: dirlib.h: No such file or directory


/home/root/mmksh_source/src/cmd/3d/dll3d.c:45:21: fatal error: dllnext.c:
No such file or directory

/home/root/mmksh_source/src/cmd/codexlib/lzd/lzd.c:7:19: fatal error:
codex.h: No such file or directory

... there are a lot of files not exist.


When compiling with UWIN and MinGW(with the cc compiler of MinGW), there is
an error of too many arguments to function 'mkdir'.

[image: Inline image 1]


I tried several times to make changes to mkdir but failed. Can anyone give
me some guidance or hints over this(like which C compiler is supported in
windows and which platform can be used) so that I can compile out an ksh
executable from source in windows environment? I really appreciate your
suggestions. Thank you very much for your time.

Best regards,

Jiaqiang

<<Image.png>>

_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to