Mail Archives: djgpp/1999/04/27/13:53:43
> Bah! If you are writing for an x86 system and have x86 code, why can't
> you use it?
Go get Netscape for Linux and try to run it under plain MS-DOS, then
think about the question you just asked. Why can't you just use it?
They're both ix86 systems, right?
> Build it on another computer, or just write in assembly and link in
> the stdlib, right?
If you link in DJGPP's stdlib, you *must* use MS-DOS, because that's
what DJGPP's stdlib uses.
> Then just jump to it...what's so hard about that?
There's not INT 0x21 in Linux. Why can't I just do MS-DOS calls in
Linux? What's so hard about that? Sorry, it just won't work.
> Now if you're writing an OS for a totally *foreign* computer with
> different instruction set, yes, you will be up a creek...
Having a different OS on the same CPU is just as much a problem.
Consider trying to run Linux programs under Win/NT. It's the same
CPU, right? Why don't they just work?
- Raw text -