Skip to content

Instantly share code, notes, and snippets.

@a1exlism
Last active November 21, 2024 03:25
Show Gist options
  • Save a1exlism/84a9932ed5faf353995d6db1721f0916 to your computer and use it in GitHub Desktop.
Save a1exlism/84a9932ed5faf353995d6db1721f0916 to your computer and use it in GitHub Desktop.
#!/bin/sh
export CROSS_ROOT=/opt/toolchains/gcc-linaro-4.9.4-2017.01-x86_64_aarch64-linux-gnu
export COMPILER_PREFIX=aarch64-linux-gnu-
export AR=${CROSS_ROOT}/bin/${COMPILER_PREFIX}ar
export AS=${CROSS_ROOT}/bin/${COMPILER_PREFIX}as
export LD=${CROSS_ROOT}/bin/${COMPILER_PREFIX}ld
export RANLIB=${CROSS_ROOT}/bin/${COMPILER_PREFIX}ranlib
export CC=${CROSS_ROOT}/bin/${COMPILER_PREFIX}gcc
export NM=${CROSS_ROOT}/bin/${COMPILER_PREFIX}nm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment