Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build on FreeDOS and OpenWATCOM environment #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SaitoYutaka
Copy link

When you build the kernel on FreeDOS and OpenWATCOM(Ver1.9)
The linkage file(e.g. KWC38632.LNK) will be output as shown below.

kernel.obj entry.obj io.obj console.obj serial.obj printer.obj dsk.obj sysclk.obj+
asmsupt.obj execrh.obj nlssupt.obj procsupt.obj dosidle.obj int2f.obj nls_hc.obj+
apisupt.obj intr.obj irqstack.obj blockio.obj chario.obj systime.obj error.obj+
break.obj dosfns.obj fatdir.obj fatfs.obj fattab.obj fcbfns.obj inthndlr.obj+
ioctl.obj memmgr.obj task.obj newstuff.obj nls.obj network.obj+
prf.obj misc.obj strings.obj syspack.obj lfnapi.obj iasmsupt.obj memdisk.obj+
main.obj config.obj initoem.obj inithma.obj dyninit.obj iprf.obj+
initdisk.obj initclk.obj cpu.obj+
kernel.exe
kernel.map
..\lib\device.lib ..\lib\libm.lib

And fail link.

So I modified as follow.

F {
kernel.obj entry.obj io.obj console.obj serial.obj printer.obj dsk.obj sysclk.obj
asmsupt.obj execrh.obj nlssupt.obj procsupt.obj dosidle.obj int2f.obj nls_hc.obj
apisupt.obj intr.obj irqstack.obj blockio.obj chario.obj systime.obj error.obj
break.obj dosfns.obj fatdir.obj fatfs.obj fattab.obj fcbfns.obj inthndlr.obj
ioctl.obj memmgr.obj task.obj newstuff.obj nls.obj network.obj
prf.obj misc.obj strings.obj syspack.obj lfnapi.obj iasmsupt.obj memdisk.obj
main.obj config.obj initoem.obj inithma.obj dyninit.obj iprf.obj
initdisk.obj initclk.obj cpu.obj
} L ..\lib\device.lib L ..\lib\libm.lib N kernel.exe

FreeDOS and OpenWATCOM environment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant