![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 21:16 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS学习入门 & 精彩文章 (教学室) » [Original] How to Port Linux Programs for Use under DOS |
| Printable Version 878 / 1 |
| Floor1 Wengier | Posted 2003-07-28 00:00 |
| 系统支持 Posts 10,521 Credits 27,736 | |
|
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.) |
|
| Floor2 pfox | Posted 2003-07-28 00:00 |
| 银牌会员 Posts 446 Credits 1,451 | |
|
Wengier, AVP's antivirus disk is for Linux. Can it be ported into a DOS program?
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |