中国DOS联盟论坛

中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --
联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
游客 | 登录 | 注册 | 会员 | 搜索 | 中国DOS联盟
中国DOS联盟论坛
现在时间是 2026-10-31 11:32
共 47,815 主题排行 / 349,930 发帖 / 今日 0 篇 / 48,290 会员排行
DOS开发编程 & 发展交流 (开发室) » 有人自已编译过freedos吗?
可打印版本  1,141 / 3
第1楼 prettywolf 发表于 2004-01-26 00:00
初级用户 发帖 6 积分 116
有人自已编译过freedos吗?
我想编译FREEDOS,可以不行呀。
有人能教我吗?
我主要是想编译kernel的,
但用里面的BUILD和BUILDALL只能编译BOOT里面的东西,
而且还要在网上找了个CNASM16这个文件才行.
高手们帮帮忙.
第2楼 prettywolf 发表于 2004-01-28 00:00
初级用户 发帖 6 积分 116
难道真没人编译过?
第3楼 prettywolf 发表于 2004-01-29 00:00
初级用户 发帖 6 积分 116
问题解决了,
得到一个外国朋友的帮助.
How to rebuild the kernel in freedos?
[email protected] / 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!!
[email protected] / Thu Jan 29 02:03:40 2004

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


第4楼 Wengier 发表于 2004-01-30 00:00
系统支持 发帖 10,521 积分 27,736
我以前曾rebuild过FreeDOS的kernel等的,不过已经好久没再试了。
[ 联系联盟系统管理团队 - 中国DOS联盟 - 标准版 ]
Sponsored by ifanr Inc | © 2001–2023