BSD Ports

devel/sdcc 4.5.0nb2 NetBSD

Cross compile microcontroller code

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
fabda29664
License
gnu-gpl-v2
Categories
devel, lang
Package size
7621.4 KiB, 260354.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDdevel/sdcc4.5.0nb2
FreeBSDlang/sdcc4.6.0
OpenBSDdevel/sdcc4.2.0p1
DragonFlylang/sdcc4.4.0
GhostBSDlang/sdcc4.6.0

Install

Binary package:

pkgin install sdcc

From pkgsrc:

cd /usr/pkgsrc/devel/sdcc && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.5.0nb2
NetBSD 10.1 aarch64-
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

Run dependencies 6

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
fabda29664 ryoon devel/sdcc: Update to 4.6.0
Changelog: SDCC 4.6.0 New Feature List: * C2y _Countof operator * C2y octal * C2y if-declaration * C2y Conditional operator with omitted second operand (originally a GNU extension) * C99 compound literals * C23 compound literals with storage class specifiers * Experimental f8l port * C2y signed bit-precise integer type of width 1 * C2y bit-precise integer types as fixed underlying type for enum * C2y umaxabs * C2y bit utilities * realloc(ptr, 0) now follows C99 semantics instead of C90 semantics * r4k port for Rabbit 4000 * Experimental r5k and r6k ports for Rabbit 5000 and 6000 * Support for Dynamic C calling convention in z80-related ports * Substantially improved code generation for z80-related ports * ez80 port replaces ez80_z80 port …
d83d7cec2c adam Revbump for Boost 1.92.0