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.

Remo.D
  • 534
  • 5
  • 11
  • Doesn't look like it would pose any problems. Try compiling from source and post the results. – Jivings Jan 19 '13 at 09: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 07:58

2 Answers2

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

ljonka
  • 21
  • 1
0

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

Bruce
  • 1