LINUX.ORG.RU

История изменений

Исправление KivApple, (текущая версия) :

$ yaourt -Ss sdcc
community/sdcc 3.3.0-2
    Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)
aur/eclipse-sdcc 1.0.0-1 (4)
    Eclipse plugin for SDCC
aur/sdcc-nf 3.3.0-1 (1)
    Retargettable ANSI C compiler with non-free targets(avr and xa51)

Поставил sdcc. Пробую скомпилировать пример из статьи (изменил только имя исходного файла):

$ sdcc --debug -mpic14 -p16f627 main.c
main.c:17:26: error: pic/pic16f627.h: No such file or directory
main.c:21: syntax error: token -> '0x2007' ; column 16

Как я понимаю, надо скачать заголовочные файлы, но ссылки в статье ведут на 404.

Исходная версия KivApple, :

$ yaourt -Ss sdcc
community/sdcc 3.3.0-2
    Retargettable ANSI C compiler (Intel 8051, Maxim 80DS390, Zilog Z80 and the Motorola 68HC08)
aur/eclipse-sdcc 1.0.0-1 (4)
    Eclipse plugin for SDCC
aur/sdcc-nf 3.3.0-1 (1)
    Retargettable ANSI C compiler with non-free targets(avr and xa51)

Поставил sdcc. Пробую скомпилировать пример из статьи (изменил только имя исходного файла):

$ sdcc --debug -mpic14 -p16f627 main.c
main.c:17:26: error: pic/pic16f627.h: No such file or directory
main.c:21: syntax error: token -> '0x2007' ; column 16