Date: Tue, 6 Jun 95 14:11 MDT From: mat AT ardi DOT com (Mat Hostetter) To: olesen AT weber DOT me DOT queensu DOT ca Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Build MSDOS apps under Linux? Newsgroups: comp.os.msdos.djgpp References: <3r03qp$hdm AT knot DOT queensu DOT ca> >>>>> "olesen" == olesen writes: olesen> I remember reading somewhere in the Linux HOWTO documents olesen> that it is/was possible to have a gcc cross-compiler that olesen> runs under Linux and makes a.out files equivalent to those olesen> produced by emx/gcc. I think that the final stub binding olesen> step still had to be done under DOS or OS/2. We sell a Macintosh(R) emulator for DOS, Linux, and NEXTSTEP. We cross-compile the DOS version under Linux. We never compile or link anything under DOS. As for the stub, under V2 the easiest thing to do is just build `stubify' under Linux and run it there. That's what we do. I think under V1 you can just use "cat" to prepend the stub, although it won't end up page-aligned that way. -Mat