nlib
Information About the Libraries for FreeBSD
Required Software
For FreeBSD 10.2, software such as GNU make and Cmake need to be installed.
Directory Structure
The FreeBSD package has the following directory structure.
├── lib
│  └── cmake
│      └── clang
│          ├── libnx_*.so     # Shared libraries
│          └── libnx_*_d.so   # Shared libraries(debug)
└── samples
    └── cmake
        └── cmake_clang.sh   # A shell script for creating makefiles for the sample programs.
Other Platform-Specific Information
  • Make sure that the size of wchar_t is 4 bytes. Characters are stored as UTF-32, and not as UTF-16.
Example of the Script for Configuring the Development Environment
# Assuming the following is set with Vagrant:
# config.vm.box = "chef/freebsd-10.0"
# then:
yes | sudo -E pkg install ports-mgmt/pkg
yes | sudo -E pkg install devel/gmake
yes | sudo -E pkg install devel/cmake
The FreeBSD version of nlib is built for FreeBSD setup using Vagrant. Contact Nintendo if you need the Vagrantfile.