From 9e227e725458bc44839f913f8ef8e7161a7e8b9e Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 21 Nov 2023 12:39:40 +0900 Subject: [PATCH] added retro-icc.md --- web-doc/_sidebar.md | 1 + web-doc/retro-icc.md | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 web-doc/retro-icc.md diff --git a/web-doc/_sidebar.md b/web-doc/_sidebar.md index 7b7f82d..3224886 100644 --- a/web-doc/_sidebar.md +++ b/web-doc/_sidebar.md @@ -2,3 +2,4 @@ - [GlusterFS](glusterfs.md "GlusterFS") - [OpenSSL](openssl.md "OpenSSL") - [Vitess](vitess.md "Vitess") +- [Retro](retro-icc.md "Retro") diff --git a/web-doc/retro-icc.md b/web-doc/retro-icc.md new file mode 100644 index 0000000..a401c41 --- /dev/null +++ b/web-doc/retro-icc.md @@ -0,0 +1,20 @@ +# Intel C Code Builder For DOS + +If you have compiler installed under `C:\ICC`, set the following environment variables: + +``` +SET CBPATH=C:\ICC +SET PATH=C:\ICC\BIN;%PATH% +``` + +If `icc` fails to find `C:\ICC\BIN\XMVM` and your system doesn't have the file, you can build your program with the `/xnovm` option. + +``` +icc /xnovm hello.c +``` + +Alternatively, you can extract the file from an existing ICC binary as shown in https://www.os2museum.com/wp/xmvm-surgery/ and place it under `C:\ICC\BIN`. + +``` +dd if=IC32.EXE of=XMVM skip=51385 bs=1 count=9440 +```