[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [N8VEM-S100:635] Re: Alcyon C Compiler [aka CP/M-68K compiler]

On 12/30/2011 10:25 AM, MdntTrain wrote:
> Mike, I found a complete set of the CP/M-68K docs online.. including
> the C Programming Guide.  Bitsavers never ceases to amaze me.
> http://bitsavers.org/pdf/digitalResearch/cpm-68k/
> - John

Hi John,


I've got the whole Alcyon C Compiler suite compiled and linked on Linux
(aside from 'send68' - looks like it's missing a header file).

The whole thing is a bit wobbly at this stage. I'm focusing mainly on
the assembler first since it's got the most scary code in it. The C
compiler and preprocessor and friends should be comparatively straight
forward, they are far cleaner.

A working copy can be gotten by :

svn co svn://8bit-repo.zapto.org/8bit/m68000/cpm/alcyon-c/v103 alcyon-c

It's not ready for prime time, but fun to see it coming to life. To do a
build from the top level:

$ make clean
$ make
$ sudo make install

Then subsequently, in order to pick-up and build updates, do "svn
update", and repeat the "make" steps.

It's important to run "make install" because it runs the "as68 -i
as68init" command to initialize the assembler which writes a file to
/usr/local/lib/as68init which contains pointers to internal functions
(it's a branch table essentially - I know, it's pretty scary!), so as68
will go off the rails if you don't do this after every new build.

Files are installed to /usr/local/bin and /usr/local/lib