From 9bdb22b13ef77936d2e8cc72e0435aa4b2237c5b Mon Sep 17 00:00:00 2001 From: Konrad Dybcio Date: Thu, 14 Aug 2025 14:31:47 +0200 Subject: [PATCH] README: discourage use of ancient GCC Newer compiler versions include various improvements, ranging from codegen and support for newer arch extensions to improved warning messages, which help keep the code less buggy. Discourage the use of the six year old GCC 7.5, in favor of using whatever newest revision the user's distribution decides to ship. Signed-off-by: Konrad Dybcio --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 55888c73..7fb4a88a 100644 --- a/README.md +++ b/README.md @@ -55,14 +55,12 @@ cd fastrpc sudo make install ``` -### Steps to Generate ARM Binaries Using Linaro Toolchain on Ubuntu Build Machine +### Steps to cross-compile the project on Ubuntu -1. **Install Linaro tools and add the tools bin location to the path:** +1. **Install the cross compiler and dependencies:** ```bash - wget -c https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz - tar xf gcc-linaro-7.5.0-2019.12-i686_aarch64-linux-gnu.tar.xz - export PATH="$PATH:/toolchain/bin" + sudo apt install g++-aarch64-linux-gnu binutils-aarch64-linux-gnu ``` 2. **Create softlink files for the compiler, linker, and other tools. Create environment variables as below for the auto tools:** @@ -196,4 +194,4 @@ Thanks for your interest in contributing to FastRPC! Please read our [Contributi ## License -FastRPC is licensed under the BSD 3-clause "New" or "Revised" License. Check out the [LICENSE](LICENSE.txt) for more details. \ No newline at end of file +FastRPC is licensed under the BSD 3-clause "New" or "Revised" License. Check out the [LICENSE](LICENSE.txt) for more details.