中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-01 04:43
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » 有人自已编译过freedos吗? 查看 924 回复 3
楼 主 有人自已编译过freedos吗? 发表于 2004-01-26 00:00 ·  中国 广西 梧州 电信
初级用户
积分 116
发帖 6
注册 2004-01-26 00:00
22年会员
UID 16127
性别 男
状态 离线
我想编译FREEDOS,可以不行呀。
有人能教我吗?
我主要是想编译kernel的,
但用里面的BUILD和BUILDALL只能编译BOOT里面的东西,
而且还要在网上找了个CNASM16这个文件才行.
高手们帮帮忙.
2 发表于 2004-01-28 00:00 ·  中国 广西 梧州 电信
初级用户
积分 116
发帖 6
注册 2004-01-26 00:00
22年会员
UID 16127
性别 男
状态 离线
难道真没人编译过?
3 发表于 2004-01-29 00:00 ·  中国 广西 梧州 电信
初级用户
积分 116
发帖 6
注册 2004-01-26 00:00
22年会员
UID 16127
性别 男
状态 离线
问题解决了,
得到一个外国朋友的帮助.
How to rebuild the kernel in freedos?
2311088@163.com / Wed Jan 28 02:11:22 2004

I'm Chinese.
I like freedos.
For freedos work very well,I try to do some change in a file
(config.c) of kernel.
But i don't know how to rebuild the kernel to recreate the kernel.sys.
Use the "makefile" file?
My english is bad,but i think you know my mean.
ps:
os:freedos
complier:turboc 2.0 or borland c++3.1





--------------------------------------------------------------------------------
----------- Additional comments:

Get C, NASM, FreeCOM and edit config.b ...
eric (#) coli.uni-sb.de / Wed Jan 28 06:40:40 2004

Hi, indeed, Borland Turbo C 2.01 (free in the community
museum of Borland) is good enough. You can use OpenWatcom,
too. You cannot use DJGPP because it creates only 386+ code.
You need NASM (nasm.sf.net) for the assembly parts. You
should run the compile in a FreeCOM shell (freedos.sf.net).
The sources and compilers should be installed at short
paths (c:\tc\ or something is better than
c:\compilers\borland\turbo\c\ ...).
You then edit config.b to describe your system and copy it
to config.bat - now you can run BUILD to create the kernel.
Having UPX (upx.sf.net) is good, too - you can config the
compile process to create a compressed kernel with it.



--------------------------------------------------------------------------------
----------- Additional comments:

Thank you very much!!
2311088@163.com / Thu Jan 29 02:03:40 2004

For your help ,i can recreate the kernel.sys now.


4 发表于 2004-01-30 00:00 ·  加拿大 安大略省 多伦多
系统支持
★★★★★★
“新DOS时代”站长
积分 27,736
发帖 10,521
注册 2002-10-09 12:00
23年会员
UID 9
状态 离线
我以前曾rebuild过FreeDOS的kernel等的,不过已经好久没再试了。
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

论坛跳转: