CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

lang/sdcc 4.6.0

Small Device C Compiler

Port info

Maintainer
darius@dons.net.au
Packages
latest: 4.6.0
Upstream
up to date
Last update
to 4.6.0 · 23544948cb
Quarterly
2026Q4: 4.6.0
Formerly
devel/sdcc until 2004-11-18
WWW
https://sdcc.sourceforge.net/
Links
cgit · VuXML

Install

Package
# pkg install sdcc
installs 4.6.0 from latest; from quarterly (2026Q4) 4.6.0
Port
# cd /usr/ports/lang/sdcc && make install clean
# make -C /usr/ports/lang/sdcc config  # change options first
Size
8.9 MiB download · 246 MiB installed
Depends on
archivers/zstd 1.5.7_2, devel/gettext-runtime 1.0_1, devel/gputils 1.5.2_1, devel/readline 8.3.6, lang/python312 3.12.15
License
GPLv2 and GPLv3
Options
1 of 1 on in the package: DOCS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 164.6.04.6.0–
FreeBSD 154.6.04.6.0–
FreeBSD 144.6.04.6.04.6.0

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 154.6.04.6.0–
FreeBSD 144.6.04.6.04.6.0

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 4.6.0.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (106)

Tijl Coosemans (tijl) · 3.3.0_1
Staging support.
9771899d89
Baptiste Daroussin (bapt) · 3.3.0_1
Add NO_STAGE all over the place in preparation for the staging support (cat: lang)
888ab73a81
Tijl Coosemans (tijl) · 3.3.0_1
Conflict with sdcc-devel and simplify options handling.
84a6d91140
Tijl Coosemans (tijl) · 3.3.0
- Update sdcc to 3.3.0 - Group target options - Change CPPFLAGS and remove LDFLAGS to always use base system   libreadline and its headers - Use a dynamically generated pkg-plist

Reviewed by:	crees
16ae8b072b
Tijl Coosemans (tijl) · 3.2.0_3
Set MAINTAINER to my @FreeBSD.org address.

Suggested by:	crees
51e2d7fd29
Tijl Coosemans (tijl) · 3.2.0_3
Fix build with boost 1.52.

Approved by:	crees
Obtained from:	sdcc revision 8145
0ddef9274c
Alex Kozlov (ak) · 3.2.0_3
- Fix all cases of 'No newline at end of file' in ports tree

Approved by: portmgr (bapt)
05a9235c98
Baptiste Daroussin (bapt) · 3.2.0_3
Chase boost update
f5f6cd6d9b
Guido Falsi (madpilot) · 3.2.0_3
- Change license to GPLv3 - Fix clang build - Fix ia64 build [1]

PR:		ports/172789
Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer)
Reported by:	Anton Shterenlikht <mexas@bristol.ac.uk> [1]
Feature safe:	yes
b6a002c479
Mark Linimon (linimon) · 3.2.0_2
Force numerous ports that fail to build with clang over to instead always rely on gcc.  The patch uses the new USE_GCC=any code in Mk/bsd.gcc.mk to accomplish this.

The ports chosen were ports that blocked 2 or more ports from building with
clang.  (There are several hundred other ports that still fail to build with
clang, even with this patch.  This is merely one step along the way.)

Those interested in fixing these ports with clang, and have clang as their
default compiler, can simply set FORCE_BASE_CC_FOR_TESTING=yes.

For those who have gcc as their default compiler, this change is believed
to cause no change.

Hat:		portmgr
Tested with:	multiple runs on amd64-8-exp-bcm and 9-exp-clang, with various
		combinations of patch/no-patch and flag settings.
a8693b8dee
Guido Falsi (madpilot) · 3.2.0_2
- Fix CONFLICTS - bump PORTREVISION

Reported by:	kwm
Approved by:	Tijl Coosemans <tijl@coosemans.org> (maintainer, via email)
Approved by:	crees, tabthorpe (mentors, implicit)
8a38fa5219
Guido Falsi (madpilot) · 3.2.0_1
- Unbreak on ARCH != i386 - Change CONFLICTS

Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer, via email)
Approved by:	crees (mentor)
98c91dc6d2
Guido Falsi (madpilot) · 3.2.0
- Update to version 3.2.0 - Add conflict with lang/sdcc-devel [1] - Convert to OptionsNG - Mark ONLY_FOR_ARCHS i386 as it seems to be the only supported one   by upstream project under FreeBSD

PR:		ports/170371
Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer)
Reported by:	Sulev-Madis 'ketas' Silber <madis555.hot.ee> [1]
Approved by:	tabthorpe (mentor)
42f540ca33
Li-Wen Hsu (lwhsu) · 3.1.0
- Update to 3.1.0 - Remove AVR and XA51 targets (unsupported)

PR:		ports/164056
Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer)
cca4fd07a8
Dmitry Marakasov (amdmi3) · 3.0.0
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS) - Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
6f6fbe4bdf
Beech Rintoul (beech) · 3.0.0
- gputils is required by sdcc for working with PIC processors,   and hence should be included in RUN_DEPENDS as well as BUILD_DEPENDS

PR:		ports/158691
Submitted by:	Jason Bacon <jwbacon@tds.net>
Approved by:	Tijl Coosemans <tijl@coosemans.org> (maintainer)
d370880c74
Gerald Pfeifer (gerald) · 3.0.0
Remove the explicit passing of CPPFLAGS to CONFIGURE_ENV which is no longer necessary.

PR:		153625
d7fd7f1030
Ade Lovett (ade) · 3.0.0
Sync to new bsd.autotools.mk
4a8684e352
Pav Lucistnik (pav) · 3.0.0
- Update to 3.0.0

PR:		ports/152013
Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer)
e17967fbe2
Ade Lovett (ade) · 2.9.0_1
Punt autoconf267->autoconf268
6abd00a86b
Ade Lovett (ade) · 2.9.0_1
Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
8262a7b51d
Dmitry Marakasov (amdmi3) · 2.9.0
- Update maintainer's email - Fix some pkg-descrs - Update some MASTER_SITES

PR:		140966
Submitted by:	Tijl Coosemans <tijl@coosemans.org> (maintainer from new email)
Approved by:	portmgr (miwi)
b149634f62
Jeremy Messenger (mezz) · 2.9.0
-Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22. -Update libtool and libltdl to 2.2.6a. -Remove devel/libtool15 and devel/libltdl15. -Fix ports build with libtool22/libltdl22. -Bump ports that depend on libltdl22 due to shared library version change. -Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
789d75c728
Martin Wilke (miwi) · 2.9.0
- Update to 2.9.0

PR:		133140
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
e5f70c79d4
Pav Lucistnik (pav) · 2.8.0
- Remove conditional checks for FreeBSD 5.x and older
41d8c3385c
Mark Linimon (linimon) · 2.8.0
Mark as broken on sparc64.

Hat:	portmgr
55eaa1a131
Ade Lovett (ade) · 2.8.0
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
771ea13f41
OKAZAKI Tetsurou (okazaki) · 2.8.0
Update to version 2.8.0.

PR:		122259
Submitted by:	Tijl Coosemans (maintainer)
4674aa5424
Beech Rintoul (beech) · 2.7.0
- Update to 2.7.0 - Makefile and plist cleanup. - Move patches to Makefile and remove files. - Pet portlint.

PR:		ports/116953
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
Approved by:	sat (mentor)
ee091d2e91
Mark Linimon (linimon) · 2.6.0_2
Fix result of mismerge.

Spotted by:	maintainer
56b561cf3c
Mark Linimon (linimon) · 2.6.0_1
Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
48420a5ebd
Pav Lucistnik (pav) · 2.6.0
- Update to 2.6.0

PR:		ports/101756
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
163632704c
Edwin Groothuis (edwin) · 2.5.0
SHA256ify

Approved by: krion@
c92c635b24
Ade Lovett (ade) · 2.5.0
Fix after sweep.

Submitted by:	maintainer
1c4b6ef892
Ade Lovett (ade) · 2.5.0
Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
54a0b86543
Mark Linimon (linimon) · 2.5.0
Attempt to fix INDEX build by s/USE_GCC=3.1+/USE_GCC=3.2+/ after removal of lang/gcc31.

This may only be papering over a bug in use.gcc.mk (does the definition
for 3.1 need to be removed there?)

Hat:		portmgr
a4c19870e9
Pav Lucistnik (pav) · 2.5.0
- Update to 2.5.0

PR:		ports/81525
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
e21acffc99
Pav Lucistnik (pav) · 2.4.0_1
* enabling build of pic16 libraries * a couple Makefile/pkg-plist changes * only pull in dependencies when actually necessary depending on   chosen options

PR:		ports/79801
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
adaa32695b
Alexey Dokuchaev (danfe) · as devel/sdcc
Remove duplicate port (lang/sdcc is already there).

Approved by:	fjoe (mentor, implicit)
6124812a40
Alexey Dokuchaev (danfe) · 2.4.0 · as devel/sdcc
Add SDCC, freeware, retargettable, optimizing ANSI C compiler that targets the Intel 8051, Maxim 80DS390, and Zilog Z80 based MCUs (support for Motorola 68HC08 as well as Microchip PIC16 and PIC18 series is in progress).

Approved by:			fjoe (mentor, implicit)
Partially obtained from:	Debian (manpages)
b57c622984
Pav Lucistnik (pav) · 2.4.0
- Fix build with gcc-3.3:   error: ISO C++ forbids cast to non-reference type used as lvalue

PR:		ports/69653
Submitted by:	Tijl Coosemans <tijl@ulyssis.org> (maintainer)
107ddda67f
Pav Lucistnik (pav) · 2.4.0
Add sdcc, Small Device C Compiler, a Freeware, retargettable, optimizing ANSI-C compiler that targets the Intel 8051, Maxim 80DS390 and the Zilog Z80 based MCUs.

PR:		ports/66262
Submitted by:	Tijl Coosemans <tijl@ulyssis.org>
158d385fd1
Kris Kennaway (kris) · as devel/sdcc
As announced on May 6, remove the broken devel/sdcc port.
c1aac5e265
Ade Lovett (ade) · 2.1.9 · as devel/sdcc
Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
7e52725f2a
Doug Ambrisko (ambrisko) · 2.1.9 · as devel/sdcc
Update my email to @freebsd.org.
47a657c611
Mark Peek (mp) · 2.1.9 · as devel/sdcc
Change maintainers email address to reflect his new reality.
daa05435e2
Maxim Sobolev (sobomax) · 2.1.9 · as devel/sdcc
Massive style enforcement - use ^I instead of spaces for variables identation.
2b1a883dc4
Steve Price (steve) · 2.1.9 · as devel/sdcc
Add USE_BISON.

PR:		23096
Submitted by:	maintainer
f7a5394377
Maxim Sobolev (sobomax) · 2.1.9 · as devel/sdcc
Ditch out "Version required" from comments section.
29a0461ea9