On 18/05/2010 16:27, Michael Hawkins wrote:
> First of all, I love sdcc! The idea that I can compile C for Z80 is
You're right. SDCC and Z80 rock!
> sdcc -mz80 --no-std-crt0 --data-loc 0x8000 --code-loc 0x200 z80clock.c crt0.o
> This works because z80clock.c includes the other source files. But this
> does atleast work. Now the problem is it simply takes too long to compile
> and I am not using any IDE for development which makes debugging and error
> checking very tedious indeed.
- To accelerate application built, you can use a makefile processed by
GNU Make (on GNU Linux or Windows/Cygwin) or other make utility.
- To debug your application you can use NoICE. Follow the link below:
Recently, M. John Hartman have done a lot of improvement on the support
of SDCC for Z80 in its NoICE. I actually use it, and it is a good tool.
> So now I would to jump forward and use Eclipse. So once I figured out that
> I would have to use a very old version of Eclipse (3.2) and use a very old
> version of CDT (3.1), I was able to install the sdcc CDT plug in.
> However, since I have quite rudimentary knowledge of sdcc and its
> compilation and linking process, I am at a complete loss at trying to get
> Eclipse to compile and link my project.
> Is there anyone on this list that is running the sdcc CDT plug in for
> Eclipse? For the Z80? Who would like to help me work out how get the
> dang thing working?
- Sorry, but I do not use the Eclipse IDE for developing with SDCC for
the Z80. So, I can not help you in this matter.