Hi sdcc users,

First of all, I love sdcc! The idea that I can compile C for Z80 is fantastic.

Please excuse my newbie quesitons. I've been sdcc for the Z80 for a good few 
months now. I am running on Windows XP.


My first real adventure was trying to create my own crt0.o which I finally 
worked out.

At this point, I've been compiling the code in a very loose fashion because I 
have had trouble getting sdcc to link multiple C files. I have only OK-ish 
knowledge of sdcc (and gcc) and rudimentary knowledge of LINUX too.

So I have four C files which I compile in one big blob.

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.

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?

Any offer of help is much appreciated.

Mike.



      

------------------------------------------------------------------------------

_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to