[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] ELKS,
From: |
Peter \"Firefly\" Lund |
Subject: |
Re: [Tinycc-devel] ELKS, |
Date: |
Fri, 28 Mar 2003 10:28:46 +0100 (MET) |
On Thu, 27 Mar 2003, Tom Potts wrote:
> Fabrice,
> I used to work on a Z80 with a c-compiler (lattice I think) so it can be
> done!
Of course it can be done!
I have fond memories of TP 3.x and PolyPascal 3.x (basically the same
compiler with a different user interface). They had the compiler,
run-time library, editor + user interface in a 30-odd KB file.
> I'm having trouble gtiing started though - I tried the Win version with -o
> but couldnt find a good point to put a breakpoint. Is there a 'map' of the
> progam anywhere?
Do you need the inline assembler?
You could try to put in some #ifdef's to conditionally compile the
assembler code and perhaps also the linker code (even though it isn't all
that big) so you end up with a couple of binaries:
1) a linker for stand-alone .s files
2) a combined C compiler and preprocessor
3) a linker
> I notice there are bits about a possible Arm version etc so perhaps you have
> already thought about breaking it into sections?
He got sidetracked by qemu, tsk, tsk ;)
-Peter
"There's a limit to admiration -- at some point you have to switch to self
defense" -- Erik van der Meer.