Hi Blair,
> Why not supply OpenWatcom instead? It's freely distributable.
OpenWatcom is already supplied, but DJGPP is much more useful for
porting GNU utilities or linux programs to DOS (like DOSFSCK in the
Base FreeDOS diskset, and many games using the allegro library).
Please excuse my cluelessness here. I know DJGPP is great for
porting Unix tools, but with regards to OpenWatcom, does it lack in
the area of the C libraries or is it just the need for sh/bash, sed,
and other things used in the make process? Not that it matters, I was
just wondering!
> Can DJGPP compile FreeCOM and the FreeDOS kernel?
Probably not, without some work, but it wouldn't be useful anyway
because I don't know what the kernel would do if it was compiled as
a
32-bit program and if FreeCOM were compiled with DJGPP it would
prevent using 16-bit DPMI programs (like Jazz Jackrabbit and Raptor)
because the DPMI extender required to run DJGPP-compiled exes
(cwsdpmi), only supports 32-bit DPMI and doesn't know how to support
16-bit DPMI. If FreeCOM were loaded resident, CWSDPMI would also be
loaded resident and would cause conflicts.
Is OpenWatcom's DOS compiler 16-bit DPMI too? I had trouble
running it under the DJGPP-compiled GNU Emacs 20.4/5. However I got a
hold of HX DOS Extender and if I run HDPMI32 before starting Emacs
(actually needed "HDPMI32 -r" since I am running under Bochs and there
is some bug there that Japheth has kindly provided me with a fix for)
then I can run OpenWatcom's DOS compilers under Emacs so I think this
means that theoretically a DJGPP-compiled FreeCOM wouldn't have those
problems. Of course I still don't know if there would be any point to
it?
If OpenWatcom's DOS compiler isn't 16-bit DPMI but 32, then I
could try running a Borland one under Emacs as I'm pretty certain they
are 16-bit DPMI.
Regards,
David
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel