Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

libtransistor v1.2.0 release candidate 2

Pre-release
Pre-release
Compare
Choose a tag to compare
@reswitchedteam reswitchedteam released this 05 Mar 23:30
· 301 commits to development since this release

Changelog:

  • C++ support (including exceptions and libc++)
  • Improved nxodance, resulting in more stable linking (link script and elf2nxo.py)
  • Redo memory management to use alloc_pages
  • Split ace_loader into wk_ace and sysmod_ace (for running applications under the WifiWebAuth applet if you're not using the Homebrew Launcher, you'll want wk_ace)
  • More socket syscalls
  • Add hexdump_dbg
  • Expand socket buffer size
  • Initialization guards
  • Fix fputs, fwrite, etc. for stdio
  • Reorganize build system for binary packaging
  • SD card support!

[NEW] Instructions for using dist tarballs:

Download libtransistor_v1.2.0-rc2.tar.gz and extract it. Set LIBTRANSISTOR_HOME to wherever you extracted it, like so:

$ cd
$ mkdir libtransistor_dist
$ cd libtransistor_dist
$ tar xf libtransistor_v1.2.0-test4.tar.gz
$ export LIBTRANSISTOR_HOME=$HOME/libtransistor_dist

Next, make sure you have all the packages listed below for your distro installed. You should be ready to build applications with libtransistor.

Distro-specific notes:

  • Ubuntu Xenial:
    • sudo apt install llvm-5.0 clang-5.0 lld-5.0 python3-pyelftools python3-pip
    • pip3 install lz4
    • You will need to run make as make LLVM_POSTFIX=-5.0
  • Ubuntu Bionic:
    • sudo apt install llvm clang lld python3-pyelftools python3-lz4 make
  • Arch Linux:
    • sudo pacman -S make llvm clang lld python3 python-pyelftools python-pip
    • pip3 install lz4 --user (alternatively, install python-lz4 from the AUR)
  • Mac OSX:
    • ??? to be determined

[NEW] Changes in building from source

The new build system builds libraries in build/ and installs them in dist/. After these latest changes and running git submodule update, if you had a version of libtransistor before the build system change, you may want to run make distclean to delete these old files, as they may break the build process.

All libraries and support files will be installed into dist/. LIBTRANSISTOR_HOME should point to this /path/to/libtransistor/dist directory, not the /path/to/libtransistor/ directory. The contents of this dist directory can be moved wherever you want them, and is what the release tarballs are based off of.