Staging support.9771899d89
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 sdccinstalls 4.6.0 fromlatest; fromquarterly(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 version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 4.6.0 | 4.6.0 | – |
| FreeBSD 15 | 4.6.0 | 4.6.0 | – |
| FreeBSD 14 | 4.6.0 | 4.6.0 | 4.6.0 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 4.6.0 | 4.6.0 | – |
| FreeBSD 14 | 4.6.0 | 4.6.0 | 4.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)
Add NO_STAGE all over the place in preparation for the staging support (cat: lang)888ab73a81
Conflict with sdcc-devel and simplify options handling.84a6d91140
- 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: crees16ae8b072b
Set MAINTAINER to my @FreeBSD.org address. Suggested by: crees51e2d7fd29
Fix build with boost 1.52. Approved by: crees Obtained from: sdcc revision 81450ddef9274c
- Fix all cases of 'No newline at end of file' in ports tree Approved by: portmgr (bapt)05a9235c98
Chase boost updatef5f6cd6d9b
- 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: yesb6a002c479
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
- Fix CONFLICTS - bump PORTREVISION Reported by: kwm Approved by: Tijl Coosemans <tijl@coosemans.org> (maintainer, via email) Approved by: crees, tabthorpe (mentors, implicit)8a38fa5219
- Unbreak on ARCH != i386 - Change CONFLICTS Submitted by: Tijl Coosemans <tijl@coosemans.org> (maintainer, via email) Approved by: crees (mentor)98c91dc6d2
- 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
- Update to 3.1.0 - Remove AVR and XA51 targets (unsupported) PR: ports/164056 Submitted by: Tijl Coosemans <tijl@coosemans.org> (maintainer)cca4fd07a8
- 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: pav6f6fbe4bdf- 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
Remove the explicit passing of CPPFLAGS to CONFIGURE_ENV which is no longer necessary. PR: 153625d7fd7f1030
Sync to new bsd.autotools.mk4a8684e352
- Update to 3.0.0 PR: ports/152013 Submitted by: Tijl Coosemans <tijl@coosemans.org> (maintainer)e17967fbe2
Punt autoconf267->autoconf2686abd00a86b
Autotools update. Read ports/UPDATING 20100915 for details. Approved by: portmgr (for Mk/bsd.port.mk part) Tested by: Multiple -exp runs8262a7b51d
- 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
-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: portmgr789d75c728
- Update to 2.9.0 PR: 133140 Submitted by: Tijl Coosemans <tijl@ulyssis.org> (maintainer)e5f70c79d4
- Remove conditional checks for FreeBSD 5.x and older41d8c3385c
Mark as broken on sparc64. Hat: portmgr55eaa1a131
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62 Tested by: exp build run (erwin)771ea13f41
Update to version 2.8.0. PR: 122259 Submitted by: Tijl Coosemans (maintainer)4674aa5424
- 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
Fix result of mismerge. Spotted by: maintainer56b561cf3c
Switch autoconf dependencies from 2.53 or 2.59 to 2.61. PR: ports/116639 Submitted by: aDe48420a5ebd
- Update to 2.6.0 PR: ports/101756 Submitted by: Tijl Coosemans <tijl@ulyssis.org> (maintainer)163632704c
SHA256ify Approved by: krion@c92c635b24
Fix after sweep. Submitted by: maintainer1c4b6ef892
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
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: portmgra4c19870e9
- Update to 2.5.0 PR: ports/81525 Submitted by: Tijl Coosemans <tijl@ulyssis.org> (maintainer)e21acffc99
* 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
Remove duplicate port (lang/sdcc is already there). Approved by: fjoe (mentor, implicit)6124812a40
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
- 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
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
As announced on May 6, remove the broken devel/sdcc port.c1aac5e265
BROKEN: Broken pkg-plist48049d5e2d
Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.7e52725f2a
Update my email to @freebsd.org.47a657c611
Change maintainers email address to reflect his new reality.daa05435e2
Massive style enforcement - use ^I instead of spaces for variables identation.2b1a883dc4
Add USE_BISON. PR: 23096 Submitted by: maintainerf7a5394377
Ditch out "Version required" from comments section.29a0461ea9