XWOS Build Toolchain Installation Guide
XWOS Build Toolchain Installation Guide
less than a minute
XWTC
xwtc is a collection of tools for XWOS compilation. It can be downloaded from Baidu Cloud Drive and installed according to the included 说明.md.
- https://pan.baidu.com/s/1WwSaEajt6JqgMOLOa8iPEQ
- Extraction code: xwos
It includes:
- arm-none-eabi-gcc
- armllvm
- riscv-nuclei-elf-gcc
- nxp gcc toolchain
The Windows version also includes:
- windows-build-tools, including tools such as
make,sed,emacs, etc.
Ubuntu
If the user uses Ubuntu as the development environment, in addition to following 说明.md for installation, some additional tools need to be installed:
sudo dpkg-reconfigure dash # Select "No"
sudo apt install build-essential
sudo apt-add-repository ppa:kelleyk/emacs
sudo apt-get update
sudo apt install emacs28 # For a headless server, use emacs28-nox instead
Windows
If the user uses Windows as the development environment, simply set the environment variables according to 说明.md.
Some Changes to the XWTC Toolchain
- arm-none-eabi-gcc
-
- Added support for TLS (Thread Local Storage)
-
- armllvm
- picolibc
-
- Uses normal
stdioinstead oftinystdio;
- Uses normal
-
- Format string additions:
%b,%lld,%Lf;
- Format string additions:
-
- Changed
__errnoto a function;
- Changed
-
- Supports multi-byte characters.
-
- picolibc