It is recommended to perform an update after initial installation, as well as periodically to ensure the latest packages are installed.
To update, run wf-pacman -Syu. If wf-pacman itself has been updated, you will need to run wf-pacman -Syu again a second time - this is to ensure that any packages requiring a newer version of the package manager get installed correctly.
By itself, Wonderful provides only a package manager - installing further packages requires using wf-pacman.
wf-pacman -S target-wswan.
Some tools are packaged separately from any target. For example, to install wf-superfamiconv, run wf-pacman -S wf-superfamiconv.
Remember that each target and toolchain may have additional libraries! To discover them, use commands like wf-pacman -Ss target-wswan or wf-pacman -Ss toolchain-gcc-arm-none-eabi.
To make accessing wf- tools easy, you may want to alias wf-env to allow them to be easily added to PATH when needed:
alias wf-env='source /opt/wonderful/bin/wf-env' to your ~/.profile.alias wf-env . /opt/wonderful/bin/wf-env.fish to your Fish configuration.alias wf-env='source /opt/wonderful/bin/wf-env' to your ~/.zprofile.Alternatively, you may want to pre-populate the environment variables in your shell on launch:
This is not recommended for Windows/MSYS2 users. Due to DLL resolution issues, this can cause MSYS2-built programs provided by other developers to not work correctly. Caveat emptor.
source /opt/wonderful/bin/wf-env to your ~/.profile.. /opt/wonderful/bin/wf-env.fish to your Fish configuration.source /opt/wonderful/bin/wf-env to your ~/.zprofile.
If you want to access toolchain components (like ia16-elf-gcc or arm-none-eabi-objdump) directly, you may wish to add the -a argument.
If you'd like to use an IDE, ones which use the clangd plugin are best tested. VSCodium (or another fork of VSCode) with the clangd plugin is recommended.
To install the clangd plugin in VSCodium:
clangd into the search bar at the top.Other IDEs and editors with clangd support, such as Sublime Text and vim, should also have full compatibility. In addition, the following IDEs are occasionally tested and should at least partially work:
Third-party SDKs using the Wonderful toolchain may have their own, distinct, recommendations.
Detailed (to the best of the toolchain's ability) information about each target and feature is available throughout the wiki. You may also wish to consult other community members. Have fun and remember not to take this hobby too seriously!