Skip to content

Instantly share code, notes, and snippets.

View jburell's full-sized avatar

Johan Burell jburell

  • Stockholm, Sweden
View GitHub Profile
@jburell
jburell / build_cross_gcc
Created September 22, 2016 15:58 — forked from preshing/build_cross_gcc
A shell script to download packages for, configure, build and install a GCC cross-compiler.
#! /bin/bash
set -e
trap 'previous_command=$this_command; this_command=$BASH_COMMAND' DEBUG
trap 'echo FAILED COMMAND: $previous_command' EXIT
#-------------------------------------------------------------------------------------------
# This script will download packages for, configure, build and install a GCC cross-compiler.
# Customize the variables (INSTALL_PATH, TARGET, etc.) to your liking before running.
# If you get an error and need to resume the script from some point in the middle,
# just delete/comment the preceding lines before running it again.
### Keybase proof
I hereby claim:
* I am jburell on github.
* I am burre (https://keybase.io/burre) on keybase.
* I have a public key whose fingerprint is 1B11 516A 891E 226D DDED 5249 76EB E172 FF7D 70F1
To claim this, I am signing this object: