- Removed redundant export statements for environment variables in env.sh.
- Clarified default architecture and mode settings for improved readability.
- Enhanced output messages for better user feedback during environment activation.
- Added bzip2 to the list of required tools for building.
- Provided a command snippet for installing the necessary packages, enhancing clarity for users setting up the environment.
- Added detailed instructions for two modes of operation in env.sh: normal mode and full toolchain mode.
- Updated the deactivation command to reflect changes in the toolchain registration process.
- Revised default CFLAGS for host/toolset builds to enhance clarity and consistency.
- Created a dedicated directory for the target toolchain within the temporary working directory.
- Copied the environment script to the working directory for inclusion in the archive.
- Updated the tar command to include the target directory and environment script in the final archive, enhancing organization and clarity.
- Updated build-libraries.sh to consistently use the --toolchain flag for environment registration and unregistration.
- Modified env.sh to clarify usage instructions and enforce the --toolchain option for environment setup, improving user experience and consistency in toolchain management.
- Changed SYSROOT_DIR to directly reference SYSROOT for clarity.
- Removed --disable-tls option from GCC build configuration to streamline the build process.
- Updated usage instructions to clarify default behavior and options.
- Improved path resolution for toolchain installation, checking for both ./bin and ./arm-uclinuxfdpiceabi directories.
- Added automatic registration when no arguments are provided, streamlining the user experience.
Stack protector on ARM reads the canary via TLS (__aeabi_read_tp), which
is unavailable since the toolchain is built with --disable-tls and uClibc
runs on uClinux without TLS support. This caused linker errors in d3des.c.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
env.sh now appends /bin internally, so callers pass the install root
(e.g. build/install) consistently, both when using the default path
and when specifying it explicitly.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
All hardcoded versions are now defined once in versions.sh and sourced
by build-toolchain.sh, download_prerequisites.sh, and build-libraries.sh,
eliminating the need to update multiple files when changing a version.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>