Note: this article was written in English by moderator Sandy, and translated into Chinese by me, so everyone can share it:
The translation is as follows:
How to Port Linux Programs to the DOS platform
System requirements:
386+
DJGPP v2+
The application's source code should be in ".tar.gz" or "tar.bz2" format
That way, you can use bash (in djgpp-v2gnu, Wengier's note: bash is a command interpreter, equivalent to COMMAND.COM).
The dollar sign ($) is what we need to type:
If the source code is in ".tar.gz" format: $tar xzvf xxx-xxx.tar.gz
If the source code is in ".tar.bz2" format: $tar xjvf xxx-xxx.tar.bz2
Otherwise, Cry!!!
Then:
$cd xxx-xxx
$ls (Note: this command is used in BASH, equivalent to the DIR command)
If you find a script file "configure": $./configure
$make
If at this point there is an EXE executable file in this directory or one of its subdirectories, then the port was successful!!!
Otherwise, Cry!!!
(Sandy's note: Sorry, I'm too tired right now, so I don't want to type Chinese.)
The translation is as follows:
How to Port Linux Programs to the DOS platform
System requirements:
386+
DJGPP v2+
The application's source code should be in ".tar.gz" or "tar.bz2" format
That way, you can use bash (in djgpp-v2gnu, Wengier's note: bash is a command interpreter, equivalent to COMMAND.COM).
The dollar sign ($) is what we need to type:
If the source code is in ".tar.gz" format: $tar xzvf xxx-xxx.tar.gz
If the source code is in ".tar.bz2" format: $tar xjvf xxx-xxx.tar.bz2
Otherwise, Cry!!!
Then:
$cd xxx-xxx
$ls (Note: this command is used in BASH, equivalent to the DIR command)
If you find a script file "configure": $./configure
$make
If at this point there is an EXE executable file in this directory or one of its subdirectories, then the port was successful!!!
Otherwise, Cry!!!
(Sandy's note: Sorry, I'm too tired right now, so I don't want to type Chinese.)
Wengier - 新DOS时代
欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/
E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

