devel/sdcc - The NetBSD Packages Collection

Cross compile microcontroller code

SDCC is a retargettable, optimizing Standard C (ANSI C89, ISO C99,
ISO C11, ISO C23) compiler suite that targets the Intel MCS51 based
microprocessors (8031, 8032, 8051, 8052, etc.), Maxim (formerly
Dallas) DS80C390 variants, Freescale (formerly Motorola) HC08 based
(hc08, s08), Zilog Z80 based MCUs (Z80, Z80N, Z180, SM83, Rabbit
2000, 2000A, 3000A, SM83, TLCS-90, eZ80, R800), Padauk (pdk14,
pdk15), STMicroelectronics STM8, MOS 6502 and WDC 65C02. Work is
in progress on supporting the Rabbit 4000, 5000, 6000, Padauk pdk13
and the f8 and f8l targets; Microchip PIC16 and PIC18 targets are
unmaintained. SDCC can be retargeted for other microprocessors.

Build dependencies

devel/boost-headers pkgtools/mktools devel/bison devel/gmake pkgtools/cwrappers

Runtime dependencies

devel/gputils lang/perl5 devel/boehm-gc devel/boost-libs lang/python313 lang/python313 devel/readline devel/boost-libs devel/readline

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64sdcc-2.8.0nb14.tgz
NetBSD 10.0aarch64sdcc-2.8.0nb14.tgz
NetBSD 10.0aarch64ebsdcc-2.8.0nb14.tgz
NetBSD 10.0alphasdcc-2.8.0nb14.tgz
NetBSD 10.0alphasdcc-2.8.0nb14.tgz
NetBSD 10.0earmv4sdcc-2.8.0nb14.tgz
NetBSD 10.0earmv6hfsdcc-2.8.0nb14.tgz
NetBSD 10.0earmv6hfsdcc-2.8.0nb14.tgz
NetBSD 10.0earmv7hfsdcc-2.8.0nb14.tgz
NetBSD 10.0earmv7hfsdcc-2.8.0nb14.tgz
NetBSD 10.0i386sdcc-2.8.0nb14.tgz
NetBSD 10.0i386sdcc-2.8.0nb15.tgz
NetBSD 10.0powerpcsdcc-2.8.0nb14.tgz
NetBSD 10.0powerpcsdcc-2.8.0nb14.tgz
NetBSD 10.0powerpcsdcc-2.8.0nb14.tgz
NetBSD 10.0sh3elsdcc-2.8.0nb14.tgz
NetBSD 10.0x86_64sdcc-2.8.0nb15.tgz
NetBSD 10.0x86_64sdcc-2.8.0nb14.tgz
NetBSD 11.0aarch64sdcc-2.8.0nb14.tgz
NetBSD 11.0aarch64ebsdcc-2.8.0nb14.tgz
NetBSD 11.0earmv6hfsdcc-2.8.0nb14.tgz
NetBSD 11.0earmv7hfsdcc-2.8.0nb14.tgz
NetBSD 11.0i386sdcc-2.8.0nb14.tgz
NetBSD 11.0i386sdcc-2.8.0nb15.tgz
NetBSD 11.0riscv64sdcc-2.8.0nb14.tgz
NetBSD 11.0sh3elsdcc-2.8.0nb14.tgz
NetBSD 11.0x86_64sdcc-2.8.0nb15.tgz
NetBSD 11.0x86_64sdcc-2.8.0nb14.tgz
NetBSD 9.0aarch64sdcc-2.8.0nb14.tgz
NetBSD 9.0aarch64sdcc-2.8.0nb14.tgz
NetBSD 9.0earmv6hfsdcc-2.8.0nb14.tgz
NetBSD 9.0earmv6hfsdcc-2.8.0nb14.tgz
NetBSD 9.0earmv7hfsdcc-2.8.0nb14.tgz
NetBSD 9.0earmv7hfsdcc-2.8.0nb14.tgz
NetBSD 9.0i386sdcc-2.8.0nb14.tgz
NetBSD 9.0i386sdcc-2.8.0nb15.tgz
NetBSD 9.0powerpcsdcc-2.8.0nb14.tgz
NetBSD 9.0x86_64sdcc-2.8.0nb15.tgz
NetBSD 9.0x86_64sdcc-2.8.0nb14.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.