Hello.

I tried build FreeCOM on open watcom compiler.
Build was successfully, but error occurred initialize function.
(running on Virtual Box)

---
C:\FREECOM>command.com
[INIT: initialise()]
[CRITER: Repeat check addr ......., drives = 26]
HEAP: OK
[free memory: far=       451312]
[INIT: grab argv[0] ]
[INIT: grabComFilename(C:\FREECOM\COMMAND.COM)]
Assertion Failed: p && !isoption(p) && !isspace(*p), function initialize,
file init.c, line 371.
---

I modified config.mak as follow.
Other settings are same as config.std[1].

---
## Memory model of FreeCOM
!if $(DEBUG)0 == 10
SHELL_MMODEL=l
DEBUG=-DDEBUG
!else
SHELL_MMODEL=l
DEBUG=-UDEBUG -DNDEBUG
!endif
SHELL_MMODEL_COMP=$(SHELL_MMODEL)

## Memory model of fixstrs, requires far data pointers, so uses compact
memory model by default
FIXSTRS_MMODEL=-ml
---
I have no idea that why fail on initialize function.
Where should I check ?

[1]
https://github.com/FDOS/freecom/blob/master/config.std


Thanks
Yutaka
_______________________________________________
Freedos-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to