# 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.

- Source version: `sdcc-4.5.0nb2`
- Maintainer: bouyer AT NetBSD.org
- Website: https://sdcc.sourceforge.net/
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## 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

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64eb | sdcc-2.8.0nb14.tgz
NetBSD 10.0 | alpha | sdcc-2.8.0nb14.tgz
NetBSD 10.0 | powerpc | sdcc-2.8.0nb14.tgz
NetBSD 10.0 | powerpc | sdcc-2.8.0nb15.tgz
NetBSD 10.0 | sh3el | sdcc-2.8.0nb14.tgz
NetBSD 10.0 | x86_64 | sdcc-4.5.0nb1.tgz
NetBSD 10.0 | x86_64 | sdcc-4.5.0.tgz
NetBSD 11.0 | x86_64 | sdcc-4.5.0nb1.tgz
NetBSD 11.0 | x86_64 | sdcc-4.5.0.tgz
NetBSD 9.0 | powerpc | sdcc-2.8.0nb14.tgz
NetBSD 9.0 | x86_64 | sdcc-4.5.0nb1.tgz
NetBSD 9.0 | x86_64 | sdcc-4.5.0.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

(no vulnerabilities known)

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.