1

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.

5
  • Doesn't look like it would pose any problems. Try compiling from source and post the results.
    – Jivings
    Commented Jan 19, 2013 at 9:48
  • Just completed the compilation. Roughly 6 hours on my Raspberry :)
    – Remo.D
    Commented Jan 19, 2013 at 15:15
  • But something must be wrong ... I got a syntax error on a line like this. sfr at 0x80 p0;
    – Remo.D
    Commented Jan 19, 2013 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
    Commented Jan 19, 2013 at 21:40
  • Does that line work on sdcc on another architecture? (Is it RPi specific?)
    – XTL
    Commented Jan 22, 2013 at 7:58

2 Answers 2

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

0

I typed in "sudo apt install sdcc" and it just all worked fine on an Raspberry Pi 4.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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