标题: 有人自已编译过freedos吗?
[打印本页]
作者: prettywolf
时间: 2004-1-26 00:00
标题: 有人自已编译过freedos吗?
我想编译FREEDOS,可以不行呀。
有人能教我吗?
我主要是想编译kernel的,
但用里面的BUILD和BUILDALL只能编译BOOT里面的东西,
而且还要在网上找了个CNASM16这个文件才行.
高手们帮帮忙.
作者: prettywolf
时间: 2004-1-28 00:00
难道真没人编译过?
作者: prettywolf
时间: 2004-1-29 00:00
问题解决了,
得到一个外国朋友的帮助.
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.
作者: Wengier
时间: 2004-1-30 00:00
我以前曾rebuild过FreeDOS的kernel等的,不过已经好久没再试了。