Skip to content

Releases

libounce 20261127

Choose a tag to compare

@github-actions github-actions released this 27 Nov 02:58
00c8347

Built with GCC 16.

  • The package is built with devkitA64 r30 (GCC 16.1), which devkitPro's repository serves now; 20261125 and earlier were built with r29 (GCC 15.2). libstdc++.so.6 now has the functions that GCC 16's , , and call, std::__detail::__wait_impl, __notify_impl and __wait_until_impl. Programs built with GCC 16 that used them did not load (#14).
  • Programs built with GCC 15 keep working with this libstdc++.so.6, except programs built with libstdc++'s debug mode (-D_GLIBCXX_DEBUG).
  • Build programs with a GCC no newer than the one the installed libounce was built with: update devkitA64 to r30 (dkp-pacman -Syu).

libounce.so.1 exports the same symbols as in 20261125, and auduOpenAudioInManager.

Also in this release:

  • audin opens the AudioIn manager through aud:u (PR #16); auduOpenAudioInManager is new.

Install with devkitPro's pacman: dkp-pacman -U libounce-20261127-1-any.pkg.tar.zst.

libounce 20261125

Choose a tag to compare

@github-actions github-actions released this 25 Nov 13:27
03af07a

C99 compatibility.

  • switch.h can be included from C99 code again (-std=c99, -std=gnu99): two headers used static_assert, which C only has from C11 on (contributed in PR #13). Projects that build as C99, such as some RetroArch cores, failed to compile with 20261117 to 20261123.

Nothing else changes: libounce.so.1 exports the same symbols as in 20261123.

Install with devkitPro's pacman: dkp-pacman -U libounce-20261125-1-any.pkg.tar.zst.

libounce 20261123

Choose a tag to compare

@github-actions github-actions released this 24 Nov 19:26
75e79e2

Dynamic linking for Switch 2.

  • libounce.so.1: libounce, its allocator, newlib and a dynamic linker in one shared library. A program links it, and its own shared libraries, as on Linux; the loader maps them and the runtime library links them when the program starts.
  • libstdc++.so.6, shared by all modules of a C++ program, with C++ exceptions across modules.
  • dlopen, dlsym, dlclose and dlerror, with RTLD_LOCAL and RTLD_GLOBAL scopes, RTLD_DEFAULT and RTLD_NEXT.
  • Thread-local variables in every module; a library loaded with dlopen can use the general-dynamic model for any size.
  • switch_shared.specs and SWITCH2_SHARED_ARCH, SWITCH2_SHARED_SPECS and SWITCH2_SHARED_LIBPATHS in switch2_rules. CMake: -DOUNCE_SHARED=ON on the toolchain. Meson and autotools: OUNCE_SHARED=1 before switch2vars.sh.
  • A result for each reason that a dynamically linked program did not start (2346-0200 to 2346-0206, dynlink.h).
  • nx/libounce.abi records the symbols that libounce.so.1 exports.

Statically linked programs build and run as before. Dynamically linked programs need kaiHEN 20261123 or later, whose loader maps their libraries.

Install with devkitPro's pacman: dkp-pacman -U libounce-20261123-1-any.pkg.tar.zst.

libounce 20261117.1

Choose a tag to compare

@github-actions github-actions released this 17 Nov 04:40

libounce now installs the Switch 2 build environment that ounce-devkit used to ship: $DEVKITPRO/switch2vars.sh, the CMake toolchain ($DEVKITPRO/libounce/cmake/Switch2.cmake) and aarch64-none-elf-cmake. The package depends on the devkitPro packages that they and libounce build on (devkitA64, devkita64-cmake, switch-cmake, switch-tools, dkp-toolchain-vars, switch-zlib). The library is the same as 20261117.

Install with devkitPro's pacman: dkp-pacman -U libounce-20261117.1-1-any.pkg.tar.zst.

libounce 20261117

Choose a tag to compare

@kurumuz kurumuz released this 17 Nov 03:27

Install with devkitPro's pacman: dkp-pacman -U libounce-20261117-1-any.pkg.tar.zst.