Skip to content
script that builds gcc and binutils nice and easy.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
activate.sh
cross-compiler.sh

README.md

Cross-Compiler-Build-Script

script that builds gcc and binutils nice and easy.

Just place the cross-compiler.sh script in your home directory and launch it from terminal using the following command:

./cross-compiler.sh x86_64-elf

Replace x86_64-elf with your target and you are set. It will do everything. It will create all directories you need, download GCC 6.1.0 and Binutils 2.26 and build them together. It even installs the prerequisites for you. It only works on apt-based systems and has only been tested on ubuntu.

You will also need to run something like the following command when you want to use the cross-compiler:

. activate.sh

Common target triples are x86_64-elf and i386-elf

You can’t perform that action at this time.