You don't need the compiler source - you can use eg. Borland under MSDOS,
which is a lot quicker. Gnu should also be able to emit 16-bit code, tho'
it needs a 32-bit system to run on. (The ACK compiler source, btw, is'nt
available).
Because of the quirks of the Intel architecture no-one much wanted to mess
with it, but Bruce Evans built at least some passes of a 16-bit compiler.
I can't remember if he include cpp, or used eg. DECUS, but you might search
the archives for bcc.
Thank you for your time.
-Mitchell Blank Jr
mi...@cs.wisc.edu
>Mitchell Blank Jr (mi...@picard.cs.wisc.edu) wrote:
>: Hi. I was wondering if the source for a COMPILER targeting minix for the
>You don't need the compiler source - you can use eg. Borland under MSDOS,
>which is a lot quicker.
Only if you have a DOS PC standing next to your Minix machine.
>Gnu should also be able to emit 16-bit code, tho'
>it needs a 32-bit system to run on.
AFAIK there is no 8086 machine description for gcc, so it can't produce
8086 code. It can produce code for a few other 16-bit processors,
but that won't help much :-).
>Because of the quirks of the Intel architecture no-one much wanted to
>mess with it, but Bruce Evans built at least some passes of a 16-bit
>compiler. I can't remember if he include cpp, or used eg. DECUS, but
>you might search the archives for bcc.
Bcc contains a complete compiler (with integrated preprocessor), assembler
and linker. All of them are available in source code and have been GPL'd
recently. Bcc is also used by the ELKS project (Linux for 8086 based
embedded systems), so there might even be some development on it in the
future (Bruce stopped working on it several years ago). You can find
the source on ftp://ftp.wsr.ac.at/pub/hjp/minix/net/bcc and on several
Linux sites.
hp