The Wonderful toolchain can currently be installed on:
Once you’re done following this tutorial, feel free to install the necessary tools for the target of your choice by following the target-specific instructions. You may also want to visit our Discord server to chat with fellow Wonderful users - an IRC bridge may be provided in the future, if user demand exists.
To install Wonderful on your computer, you will need:
/opt/wonderful
directory: sudo mkdir /opt/wonderful
. Other installation locations are not supported at this time./opt
can be only written to by the root user. This is why sudo
is used here to elevate permissions./opt/wonderful
to your current user: sudo chown -R "$USER" /opt/wonderful
.wf-pacman
updates, to be executed without elevated permissions. /opt/wonderful
: cd /opt/wonderful/ && tar xzvf [path_to_bootstrap_tar_gz]
./opt/wonderful/bin/wf-pacman -Syu wf-tools
(no sudo - you don’t need root!) to synchronize and update the toolchain’s package manager.source /opt/wonderful/bin/wf-env
to configure the toolchain's environment variables.Configuration → Environment variables
for more information.setting certificate file: /etc/ssl/certs/ca-certificates.crt
while trying to use wf-pacman, you may need to install your distribution’s SSL certificates package (f.e. ca-certificates on Debian).To install Wonderful on your computer, you will need:
Required files:
C:\msys64
, adjust it in the Wonderful installer to match.)Wonderful Toolchain Shell
from the Start menu.This approach is a little experimental, so if it doesn’t work for you, feel free to try the Manual steps below.
Required files:
pacman -S base-devel ca-certificates
./opt/wonderful
directory: mkdir /opt/wonderful
. Other installation locations are not supported at this time./opt/wonderful
(f.e. cd /opt/wonderful/ && tar xzvf [path_to_bootstrap_tar_gz]
)./opt/wonderful/bin/wf-pacman -Syu wf-tools
(no sudo - you don’t need root!) to synchronize and update the toolchain’s package manager.source /opt/wonderful/bin/wf-env
to configure the toolchain's environment variables.Configuration → Environment variables
for more information.These are not recommended and are less tested, but have been used successfully by some users.
Since WSL2 is compatible with Linux, one can follow the Linux installation instructions to get Wonderful running on top of Windows this way.
could not open file: /etc/mtab: No such file or directory
while trying to use wf-pacman, the following command can create the missing file: sudo ln -s /proc/self/mounts /etc/mtab
Native macOS support is currently not available. For the time being, it is recommended to use a Linux virtual machine.
To make accessing Wonderful easy, you may want to pre-populate the environment variables in your shell on launch:
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
.
Alternatively, you may want to alias wf-env
to allow them to be easily added 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
.
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.