Hi Wesley,

> how does djgpp turn a Un*x binary into a DOS executable?
> There's a 32-bit DOS stub that gets attached...

That is not the only difference. DJGPP also links with
a DOS specific C library, because for example the kernel
calls needed to open a file differ from those used on
a Linux system. The memory model is also different in
DOS, even after you add that 32 bit loader stub, so you
can say that DJGPP is more than a modified configuration
for GCC. It is more a special GCC system for DOS.

Eric



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to