Commit Graph

49 Commits

Author SHA1 Message Date
1f31c8e0a9 Add OpenSSL patch to include <sys/stat.h> in s_server.c
- Introduced a check in build-libraries.sh to add the <sys/stat.h> include directive to apps/s_server.c if it is missing.
- This patch ensures compatibility with systems that require this header for proper functionality of the OpenSSL s_server application.
2026-03-31 14:07:30 +03:00
08e372eaf2 Refactor build-libraries.sh and env.sh for improved environment setup
- Updated build-libraries.sh to use --global and --path options for environment registration, enhancing clarity and consistency.
- Modified env.sh to support custom paths and improved error handling for the --path argument, streamlining toolchain path resolution.
- Removed redundant SYSROOT_DIR assignments to simplify the script logic.
2026-03-31 13:54:49 +03:00
fa0e0243e1 Refactor env.sh to enhance toolchain path handling and usage instructions
- Simplified toolchain path resolution logic to support custom paths and global mode.
- Improved error handling and user feedback for toolchain detection.
- Streamlined environment variable exports and clarified usage instructions for better user experience.
2026-03-31 13:54:39 +03:00
a79d453c78 Refactor build-libraries.sh to streamline OpenSSL configuration
- Removed several disabled options from the OpenSSL build configuration to simplify the setup process.
- Enhanced clarity by reducing the complexity of the configuration flags used during the build.
2026-03-31 10:25:03 +03:00
a1e8038cd9 Refactor env.sh to streamline environment variable exports
- 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.
2026-03-31 09:31:51 +03:00
fdeb97ee3b Update README.md to include bzip2 installation instructions for Ubuntu/WSL
- 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.
2026-03-31 08:43:55 +03:00
d16bb178b0 Update README.md to clarify env.sh usage and toolchain modes
- 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.
2026-03-31 08:24:02 +03:00
b4ad220386 Refactor build-toolchain.sh to improve toolchain archiving process
- 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.
2026-03-30 20:01:11 +03:00
0ef34c8a10 Enhance build-libraries.sh and env.sh for toolchain integration
- 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.
2026-03-30 19:20:40 +03:00
bb72c9b049 Update SYSROOT_DIR assignment in build-libraries.sh and remove --disable-tls from build-toolchain.sh configuration
- Changed SYSROOT_DIR to directly reference SYSROOT for clarity.
- Removed --disable-tls option from GCC build configuration to streamline the build process.
2026-03-30 18:30:16 +03:00
f6111b0bb8 Enhance env.sh to improve toolchain registration logic
- 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.
2026-03-30 10:01:14 +03:00
13b4127521 Revert: remove -fno-stack-protector from CFLAGS_TARGET
Was not the root cause of the __aeabi_read_tp linker error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-18 11:48:20 +03:00
39ea36dfc2 Disable stack protector for target CFLAGS
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>
2026-02-18 11:42:38 +03:00
a0b70bd271 Make --register accept install root instead of bin directory
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>
2026-02-18 10:10:52 +03:00
3bdde2147b Extract package versions into a single versions.sh file
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>
2026-02-18 10:07:30 +03:00
a2034926f8 Add README with project documentation for ARM uClinux FDPIC cross-compiler toolchain 2026-02-17 08:17:21 +03:00
f51144e388 Add --disable-tls option to GCC build configuration for improved compatibility 2026-02-16 17:21:01 +03:00
b1421bf4ae Refactor env.sh to improve registration and unregistration handling for toolchain environment 2026-02-16 16:07:15 +03:00
8b4a75b42d Update uClibc version to 1.0.55 in build scripts and download prerequisites 2026-02-16 15:42:10 +03:00
c581c66f74 Refactor build scripts to improve directory structure and enhance file handling 2026-02-16 14:46:24 +03:00
a3a929ff40 Fix uClibc version and update build directory structure for improved clarity 2026-02-16 10:27:32 +03:00
a724e6ad7c Fix build directory paths and improve archive extraction error handling 2026-02-16 09:08:07 +03:00
f861c2845f Add 'src' directory to .gitignore 2026-02-16 08:56:55 +03:00
343844e690 Fix file download logic to skip already downloaded files 2026-02-16 08:56:39 +03:00
402393867b Link to zlib on the official website has been corrected. 2025-12-09 10:40:17 +03:00
f92f1b441d Added library loading script 2025-12-09 09:08:44 +03:00
c5878566d2 Added a configuration file for building with the new version of uCLib 2025-12-09 00:42:51 +03:00
1b600fe7c4 OpenSSL is disabled when building VNC 2025-12-08 22:08:03 +03:00
b804536197 Added static linking build 2025-12-08 18:52:53 +03:00
d17412f357 Fixed a bug with freetype build 2025-12-08 10:59:55 +03:00
fbbe5bbb7a Added freetype build 2025-12-08 09:20:28 +03:00
8efa2e8c0f Fixed a name error during assembly 2025-12-05 16:23:55 +03:00
5bf6ec0abc Fixed a bug with exiting without passing arguments 2025-12-05 16:23:33 +03:00
54555cee39 Added build-libraries.sh 2025-12-05 14:06:28 +03:00
b82f2d72d1 Added lib folder to .gitignore 2025-12-05 00:26:03 +03:00
97c49567ce Fixed a bug when creating an empty folder 2025-12-05 00:25:33 +03:00
a46724cc90 Added the ability to create an environment for the compiler 2025-12-04 22:57:02 +03:00
bbb3c07a0f Added env.sh 2025-12-04 22:50:31 +03:00
6f669fbb45 Package names are separated into separate variables 2025-12-04 22:48:42 +03:00
3b81c7fe64 A separate configuration folder has been created for the build. 2025-12-04 18:38:59 +03:00
22bdedaead Added copying of config for a specific uCLib version 2025-12-04 17:22:13 +03:00
f0a633641b binutils version has been increased 2025-12-04 16:40:11 +03:00
446b697ba6 Script has been supplemented 2025-12-04 15:57:34 +03:00
96056d2f56 Some paths have been fixed 2025-12-04 14:06:18 +03:00
9168b85705 Added a separate directory for building 2025-12-04 13:07:54 +03:00
051971f54e Added question for delete archives and builds folders 2025-12-04 08:53:25 +03:00
42a21feede Added .gitignore 2025-12-03 09:21:09 +03:00
e06aaea195 Changed GCC version to 13.4.0 2025-12-03 08:27:07 +03:00
e2baec4fa8 Initializing repository 2025-12-02 13:27:22 +03:00