Mark, just a small note from my side: don't forget about the licensing stuff:
* SDCC is GPL licensed, which means that "your" compiler will be also GPL licensed, which means that the source code will have to be published / accessable to the compiler users (unless it will be used only internally) * CLANG / LLVM is BSD licensed, which means that the source code doesn't have to be published.There are also other differences between GPL and BSD licenses, I jut mentioned the one which seems the most important to me. Before making the decision red the licenses carefully.
Borut On 02. 08. 2013 07:18, Mark McDougall wrote:
Hi, I've had a bit of a look through the archives but the interface makes it very difficult to peruse posts over any large length of time... I'm looking to assist in a project to develop a C-compiler for a custom soft-core RISC processor. The processor itself has a very small instruction set, but is designed to run at high clock speeds and is scalable in terms of data width. I'm currently in the process of determining the most suitable compiler stack for the task, and from what I have learned in the last few hours it seems to come down to SDCC vs. CLANG/LLVM. I've used the 8051 (Cypress EZUSB) and Z80 ports of SDCC in the past, but of course have never developed a back-end for it. IIUC there's absolutely no documentation to assist in the process, and it's simply a case of "Use The Source, Luke"! That's not necessarily a show-stopper for me, but in this respect does make LLVM look more attractive. Anyway, I notice that an STM8 port was added to the trunk recently. May I inquire as to how much effort (weeks?) that port required? I understand it's not a trivial task to add a back-end, and it involves developing assemblers and simulators as well, but I don't really have a feel for how much overall effort it requires. Obviously it depends to a degree on the target CPU, but if I knew how long the STM8 port took, I might be able to extrapolate some ball-park figure for this custom RISC processor!?! So any statistics on the STM8 port would be greatly appreciated! Regards,
------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user