2

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.

  • 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
2

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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