Bash Scripts to build FreePascal crosscompilers

Job ID: 34340150

Budget: $250 – $750 USD

I need two bash scripts created, one to run on Linux 64bit on x64 and one to run on Linux 64bit on ARM.

Each script should build FreePascal from source for the host os including cross compilers for Windows, Linux and Android for both the host architecture and the other architecture.

So for example, the script for the x64 host should build a toolchain for Windows, Linux, and Android on Win64 and the script for the arm host should build a toolchain for Windows, LInux, and Android on ARM.

Expected path configuration would be...
./fpc - source code for FreePascal
./bin/x64/linux/x64 - destination path for x64 toolchain on x64 host
./bin/x64/linux/arm - destination path for arm toolchain on x64 host
./bin/arm/linux/x64 - destination path for x64 toolchain on arm host
./bin/arm/linux/arm - destination path for arm toolchain on arm host

These scripts should run in context of the current user and not require sudo elevation.

This script will run as part of a CI build so needs to operate hands off.
Related categories: Linux Shell Script