Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Has anyone managed to install sdcc (http://sdcc.sourceforge.net/) on a Raspberry? The package repository has sddc-doc and sdcc-libraries but the main package sdcc seems missing!

Their site says that sdcc can be compiled for Raspberry but I'd like to check if anyone has done it before.

share|improve this question
    
Doesn't look like it would pose any problems. Try compiling from source and post the results. –  Jivings Jan 19 '13 at 9:48
    
Just completed the compilation. Roughly 6 hours on my Raspberry :) –  Remo.D Jan 19 '13 at 15:15
    
But something must be wrong ... I got a syntax error on a line like this. sfr at 0x80 p0; –  Remo.D Jan 19 '13 at 16:37
    
Have you tried figuring out why the error occurs? It'd be nice if you could answer your own question, in case someone ask's the same question. –  Vincent P Jan 19 '13 at 21:40
    
Does that line work on sdcc on another architecture? (Is it RPi specific?) –  XTL Jan 22 '13 at 7:58
add comment

1 Answer

I compiled sdcc successfull about one week ago, when you start ./configure in sdcc direcotry you will see which file is missing, you have to install some lib and dev packages. Packages i installed before compilation: gputils bison flex libboost-dev libboost-filesystem-dev libboost-thread-dev

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.