From 6e06cb942b9632a7f0991b1ecc87d941c3969494 Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 16 Oct 2024 15:02:32 +0000 Subject: [PATCH] add dos build git-svn-id: file:///raid/svn-personal/tewi/trunk@360 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Document/input/building/dos.md | 49 ++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Document/input/building/dos.md diff --git a/Document/input/building/dos.md b/Document/input/building/dos.md new file mode 100644 index 0000000..828597d --- /dev/null +++ b/Document/input/building/dos.md @@ -0,0 +1,49 @@ +\language ^en$ +# Build for DOS {Build} + +Tewi HTTPd has the DOS support. + +## Steps + +### 1. Install packages + +It should be able to compile on Debian if below packages are installed: + - `build-essential` + - Open Watcom 2.0 + +### 2. Get the source code + +You can get the source codes using several VCS. ([Official Repository List](repos.html)) + +### 3. Create config.h + +Copy config.h.tmpl to config.h. Edit it if needed. + +### 4. Run make + +Run `make PLATFORM=dos PREFIX=prefix`. PREFIX is set to `C:/Tewi` by default. + +\language ^jp$ +# DOS向けにビルドする {ビルド} + +Tewi HTTPdにはDOSサポートがあります。 + +## ステップ + +### 1. パッケージを入れる + +Debianの場合、以下のものがあればコンパイルできるはずです: + - `build-essential` + - Open Watcom 2.0 + +### 2. ソースコードを持って来る + +ソースコードは色々なVCSを使って取得することができます。 ([公認リポジトリリスト](repos.html)) + +### 3. config.hを作成する + +config.h.tmplをconfig.hにコピーしてください。必要があれば編集してください。 + +### 4. makeを実行する + +`make PLATFORM=dos PREFIX=おすきなプレフィックス`を実行してください。PREFIXの指定が無い場合は`C:/Tewi`になります。 -- 2.45.2