[gnu.gcc] Cross compiling for 80x86?

tpm@datlog.co.uk (Tim Murnaghan) (11/28/89)

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 ?

-- 
Tim Murnaghan (tpm@datlog.co.uk)
Data Logic Ltd., Queens House, Greenhill Way, Harrow, Middx., HA1 1YR, UK.

david@WUBIOS.WUSTL.EDU (David J. Camp) (11/30/89)

>
>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