Mail Archives: djgpp/2000/09/29/10:30:24
Juan L. Jiménez Bascones <jljbascones AT yahoo DOT com> wrote:
> And if the code is generated by different compilers (MS D. Studio 6.0,
> DJGPP) but under the same platform?
But the platform _is_ not the same, for these two compilers. Not
unless you count RSXNTDJ as an integral part of DJGPP that doesn't
need to be mentioned in such a sentence, that is.
'Platform' is more than just the CPU. DJGPP is 32bit DOS, MSVC++ is
32bit Windows, exclusively. These are different platforms.
There are cases where code is indeed platform-independent, as long as
the CPU is the same, but such code hard to create. It imposes
limitations like what you have in .dxe files for DJGPP: no calling of
library functions, neither explicitly nor behind the scenes.
And even then the 'application binary interface' (aka the 'call
convention' ) may still be wildly different, or the object file
formats may be incompatible.
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -