Date: Mon, 16 Aug 93 09:52:51 -0400 From: DJ Delorie To: mcgratjp AT elec DOT canterbury DOT ac DOT nz Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Cross-Cross Compiler. > Date: Sat, 14 Aug 93 23:32:44 NZDT > From: mcgratjp AT elec DOT canterbury DOT ac DOT nz > X-Envelope-To: djgpp AT sun DOT soe DOT clarkson DOT edu > X-Mailer: ELM [version 2.2 PL5] > Content-Transfer-Encoding: 7BIT > DJ-Mail-Sort: djgpp@, djgpp > Hi all, > I'd like to build a cross compiler to compile to a 68k. This much I can do > on linux. > Can I now apply the appropriate patches and make a go32 hosted version? > That is, build a linux->go32 cross compiler, and use it to make a go32 to > 68k compiler? A bit convoluted perhaps, but if possible should be easier than > compiling gcc under dos I would have thought. Theoretically, you can use "--target=go32" where appropriate to build a compiler that makes executables that run under go32. You can then use this compiler to make a go32->68K compiler using "--host=go32" > I can build a cross compiler, but will I be able to build a go32 executable on > Linux, or even better a Sun 4, by doing this? You can't build go32.exe itself outside of dos.