On Tuesday 20 March 2007 22:41, Eric Auer wrote: > 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.
So that you would need a proper cross-compiler. Thanks, Eric. I wasn't sure. > > 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 -- Clinersterton beademung, with all of love - RIP James Blish ----- Mau e ki, he aha te mea nui? You ask, what is the most important thing? Maku e ki, he tangata, he tangata, he tangata. I reply, it is people, it is people, it is people. ------------------------------------------------------------------------- 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