Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Compiler source?

28 views
Skip to first unread message

Will Rose

unread,
Jan 15, 1996, 3:00:00 AM1/15/96
to
Mitchell Blank Jr (mi...@picard.cs.wisc.edu) wrote:
: Hi. I was wondering if the source for a COMPILER targeting minix for the
: i86 architecture is available. All I can find in the SRC.* disks for 1.7.1
: is the compiler driver (src/commands/i86/cc.c) but I need the actual
: compiler passes. The purpose of this is to set up a cross-compiling
: environment so I can compile things on a fast workstation instead of my
: 640K minix machine (40 seconds to compile hello world). I am not
: picky about the compiler (it can be non-ANSI) it just needs to be able
: to compile the standard MINIX source tree. I'll also need as and ld I
: think.

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.


Will
c...@crash.cts.com


Mitchell Blank Jr

unread,
Jan 15, 1996, 3:00:00 AM1/15/96
to
Hi. I was wondering if the source for a COMPILER targeting minix for the
i86 architecture is available. All I can find in the SRC.* disks for 1.7.1
is the compiler driver (src/commands/i86/cc.c) but I need the actual
compiler passes. The purpose of this is to set up a cross-compiling
environment so I can compile things on a fast workstation instead of my
640K minix machine (40 seconds to compile hello world). I am not
picky about the compiler (it can be non-ANSI) it just needs to be able
to compile the standard MINIX source tree. I'll also need as and ld I
think.

Thank you for your time.

-Mitchell Blank Jr
mi...@cs.wisc.edu

Peter Holzer

unread,
Jan 19, 1996, 3:00:00 AM1/19/96
to
c...@crash.cts.com (Will Rose) writes:

>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

0 new messages