Mail Archives: djgpp/1994/07/14/13:14:51
> By 'first-class', I mean compiling to a go32 target executable and
> then running and debugging that executable under dosemu. I admit that
> I don't know what problems are keeping this from working now. I've
>
one major problem is that dosemu uses V86 mode.
> heard that the 'i386-go32' target environemnt for gcc doesn't work
> entirely: the objects still need to be linked under DOS. And I have
> no idea whether dosemu can support (or be made to support) DPMI, but
> it seems like it should be possible. Anyway, it seems like that would
> be a more productive direction than trying to drag DOS into the
> 1980's. If the new go32 and GRX were available under Linux and/or
> dosemu, *that* would be *very* cool.
>
My personal, and very satisfactory, solution to this problem is as
follows. I develop under Linux and use the SUIT library to great my GUI.
This allows me to use all the usual UNIX tools etc. As SUIT has been
ported to DJGPP/GRX, my programs can simply be recompiled under
DOS/DJGPP for use on a PC - WITHOUT ANY CHANGES TO THE SOURCE CODE !
(Of course I can't use signals, fork() etc...)
--
Paul Harness, | Internet: gapa83 AT udcf DOT gla DOT ac DOT uk
Department of Physics and Astronomy, |
University of Glasgow, | Tel +44-41-339-8855 ext 8359
Glasgow, G12 8QQ, SCOTLAND. | Fax +44-41-334-9029
- Raw text -