added retro-icc.md

This commit is contained in:
hyung-hwan 2023-11-21 12:39:40 +09:00
parent 7f58486a01
commit 9e227e7254
2 changed files with 21 additions and 0 deletions

View File

@ -2,3 +2,4 @@
- [GlusterFS](glusterfs.md "GlusterFS") - [GlusterFS](glusterfs.md "GlusterFS")
- [OpenSSL](openssl.md "OpenSSL") - [OpenSSL](openssl.md "OpenSSL")
- [Vitess](vitess.md "Vitess") - [Vitess](vitess.md "Vitess")
- [Retro](retro-icc.md "Retro")

20
web-doc/retro-icc.md Normal file
View File

@ -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
```