<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 27 Jun 2002 01:20:03 +0100
From   : jgh@... (Jonathan Graham Harston)
Subject: Re: C compilers and emulator communications

"Isabel Cisternas & Robert Schmidt" <rschmidt@...> wrote:
> > be a bit too time consuming.  Does anyone know the state of the C
> > compilers out there - are they any use for producing usable code?  I
> 
> Sounds like fun - have you seen http://www.cc65.org/?
> I've been toying with the idea of adding the Beeb to the list of targets,
> but I have a feeling I'd be in over my head.
> Anybody else had a look at the work it would involve?
 
Do you want to run a compiler on the Beeb, or compile C code on another
platform to target the Beeb?
 
Small-C is a C compiler for the Beeb.  It's available on disk from my PD
library, and I've been meaning to upload it to my website at some point. 
It's on 8bs at www.8bs.com - look for disk BBC-66.
 
I've been going through the libraries and as65 checking them to ensure
they work correctly on other systems, for example, on a PC or an Arc. The
main thing that has to be done is to compile tcc/c, tccom/c and tcpp/c on
your source machine with your source machine's compiler.  I've been
wondering whether to specify the commands as tcc65, etc., as they are for
a 6502 target.  Conventionally, the command "cc" compiles source code on
your machine to run on your machine, [t]cc<cpu> compiles for a specified
target machine.
 
-- 
J.G.Harston (JGH BBC PD Library) 70 Camm Street, Walkley, SHEFFIELD S6 3TR
jgh@...                - Running on BBCs & Masters with SJ MDFS FileServer
Z80+6502/CoPro+Tubes/Econet+SJ - - - - - - - http://www.mdfs.net/User/JGH/
 Never, ever, EVER, *EVER*, *E*V*E*R* use an apostrophe to make a plural
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>