Package Details: gbdk-2020 4.5.0-1

Git Clone URL: https://aur.archlinux.org/gbdk-2020.git (read-only, click to copy)
Package Base: gbdk-2020
Description: An updated version of Game Boy Development Kit
Upstream URL: https://github.com/gbdk-2020/gbdk-2020
Keywords: gameboy gbdk
Licenses: MIT
Conflicts: gbdk, lcc
Submitter: Basxto
Maintainer: sokui
Last Packager: sokui
Votes: 1
Popularity: 0.094377
First Submitted: 2020-06-15 12:43 (UTC)
Last Updated: 2026-01-18 19:14 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

acedio commented on 2026-05-01 15:13 (UTC)

In case it helps others that run into this, one issue with using the mainline version of sdcc is that using lcc -debug will fail due to not finding crt0.lst. This behavior is patched out in SDCC version that is shipped with GBDK releases, so IIUC you'll have to use those if you want to be able to (easily) build binaries with debug symbols.

sokui commented on 2026-01-18 19:17 (UTC)

Updated to 4.5.0 and added nes platform flag to make. See https://github.com/gbdk-2020/gbdk-2020/releases/tag/4.5.0 for release details.

sokui commented on 2025-12-18 07:09 (UTC)

Updated 4.4.0. I am unsure if NES support can be enabled, as the main repo now uses sdcc 4.5.0, so I kept it disabled for now.

JL2210 commented on 2024-10-08 20:43 (UTC)

Updated to 4.3.0 using main repo's sdcc. Until sdcc gets another release, NES/mos6502 support is disabled.

Score_Under commented on 2024-02-13 15:29 (UTC)

Upstream has a new version, but the outdated reason on this package can't be updated so dropping it here: https://github.com/gbdk-2020/gbdk-2020/releases/tag/4.2.0

Score_Under commented on 2022-11-05 19:24 (UTC) (edited on 2022-11-05 19:25 (UTC) by Score_Under)

Looks like this package is in the unenviable situation of either biting the bullet and pinning a specific sdcc version/patch/fork in another AUR package or succumbing to bit rot

Basxto commented on 2022-04-02 00:41 (UTC)

New versions has been released, 4.0.4 was released about 9 month ago, and 4.0.6 last month:

This build is special, since I rely on the sdcc package. That means, I can’t support GBDK-2020 versions that rely on features only available in development snapshots or patched sdcc. I wanted to avoid that you have to also build the compiler from SVN source, that makes the package more complex and increases compile time significantly. GBDK-2020’s sdcc would need to end up somewhere else to avoid conflicts, which might require wrapper scripts.

4.0.4 is the latest version that works with a proper sdcc release.

4.0.5 needs patches: https://github.com/gbdk-2020/gbdk-2020-sdcc/releases/tag/sdcc-12539-patched

With sdcc 4.1.0 .incbin and everything related to sms/gg banking won’t work.

Also, I'm not sure about the reason why, but I can't get the package to build (I tried on different systems)

Yes it’s broken, I should look into how to restrict to sdcc<4.2.0. There is no GBDK-2020 version for sdcc 4.2.0 yet.

Basxto commented on 2021-03-26 21:33 (UTC)

From 4.0.3 on, it uses the actual release and not a fork any longer.

Basxto commented on 2021-02-15 06:19 (UTC)

It's updated to the newest version, but it's complicated. It's still a fork, but I made a new PR with cherry picked commits from my last PR try. So it will be hopefully merged this time.

Until sdcc-svn is updated, you have have to manually apply the patch, I posted there. Alternatively it should work as soon as sdcc 4.1.0 is realeased and the community package updated.