Mail Archives: djgpp/1999/10/24/09:30:02
On Sat, 23 Oct 1999, Damian Yerrick wrote:
> > I want to use DJGPP libraries, headers,
>
> libc is already in gcc. Headers are the same.
Not true. First, the library is not part of the compiler, it's a
separate package, both in DJGPP and in Linux. The latter uses the GNU
libc, or glibc, which is totally different from the DJGPP library,
written from scratch specifically for the DJGPP project (that's why
DJGPP-compiled programs are not under LGPL, the GNU library license).
And second, the DJGPP headers are also different from Linux's, because
headers are tightly coupled with the library.
Of course, functionally both the Linux library and headers are similar
to DJGPP's, since both versions comply to similar standards. But the
Linux library is much larger and more powerful.
> > dpmi (emulated) functions under Linux.
>
> It would be better to port code that uses DPMI
> for the Linux memory manager.
This cannot be done, in general. DPMI allows things that Linux
doesn't.
- Raw text -