While there has never been an SDCC version with stable PIC support,
every version that is not entirely ancient should have somewhat usable
PIC backends, but the compilation process is a bit brittle and has been
for years.
If you cannot get hold of a pre-compiled package that comes with the PIC
backends enabled, take a look at
https://sourceforge.net/p/sdcc/bugs/3140/ for one of the most common
issues and potential workarounds.

Greetings,
Benedikt

Am 24.04.23 um 00:11 schrieb Nick Pettefar:
What is the latest version for RPi 4 with a working Pic12 & 14 please?

Nick
Ireland

On Sun, 23 Apr 2023 at 20:53, Benedikt Freisen <b.frei...@gmx.net
<mailto:b.frei...@gmx.net>> wrote:

    Good evening!

    Both PIC ports are officially unmaintained.  They have stability issues.
    Unless you need the PIC ports, the path of least resistance is to simply
    disable them, which hopefully solves the problem.  The manual lists the
    relevant command line switches.

    Greetings,
    Benedikt

    Am 22.04.23 um 22:00 schrieb Marc Lobelle:
     > Hello,
     >
     > I tried to compile sdcc-4.2.0 on openindiana (./configure;
    gmake)  and I
     > get the following error message
     >
     > What should I do ?
     >
     > Thanks,
     >
     > Marc
     >
     > gmake[5] : on entre dans le répertoire
    « /opt/sdcc-4.2.0/device/lib/pic14 »
     > gmake[5]: *** Aucune règle pour fabriquer la cible
     > « clean-intermediate ». Arrêt.
     > gmake[5] : on quitte le répertoire
    « /opt/sdcc-4.2.0/device/lib/pic14 »
     > gmake[4]: *** [Makefile:636 : clean_intermediate-pic14] Erreur 2
     > gmake[4] : on quitte le répertoire « /opt/sdcc-4.2.0/device/lib »
     > gmake[3]: *** [Makefile:510 : objects-pic14] Erreur 2
     > gmake[3] : on quitte le répertoire « /opt/sdcc-4.2.0/device/lib »
     > gmake[2]: *** [Makefile:503 : model-pic14] Erreur 2
     > gmake[2] : on quitte le répertoire « /opt/sdcc-4.2.0/device/lib »
     > gmake[1]: *** [Makefile:278 : all] Erreur 2
     > gmake[1] : on quitte le répertoire « /opt/sdcc-4.2.0/device/lib »
     > gmake: *** [Makefile:184 : sdcc-device-lib] Erreur 2
     >

--
Regards,

Nick Pettefar



_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to