Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!WUBIOS.WUSTL.EDU!david From: david@WUBIOS.WUSTL.EDU (David J. Camp) Newsgroups: gnu.gcc Subject: Re: Cross compiling for 80x86? Message-ID: <8911300417.AA08672@wubios.WUstl.EDU> Date: 30 Nov 89 03:17:17 GMT References: <1047@dlhpedg.co.uk> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 26 > >I was thinking about using gcc as a cross compiler for systems using Intel 8086 >and 80286 , does anybody have the machine description stuff for these >processors ? I have had the same idea. There are several problems that I can identify. It may be that all you need to do to the machine description is to delete the 80386 commands that are not present in the 8086, but I am not certain. It would be necessary to provide your own run-time library. You would need a linker that generates an .exe executable file, since the Unix format would not work. I think this project is achievable, but is not a simple matter. It would be interesting to try to compile gcc into 8086 code, resulting in a native gcc compiler for messy-Dos. -David- > >-- >Tim Murnaghan (tpm@datlog.co.uk) >Data Logic Ltd., Queens House, Greenhill Way, Harrow, Middx., HA1 1YR, UK. > Bitnet: david@wubios.wustl ^ Mr. David J. Camp Internet: david%wubios@wucs1.wustl.edu < * > Box 8067, Biostatistics uucp: uunet!wucs1!wubios!david v 660 South Euclid Washington University (314) 36-23635 Saint Louis, MO 63110 Brought to you by Super Global Mega Corp .com