Skip to content

Instantly share code, notes, and snippets.

@rac3rx
Forked from wadouk/init-env.sh
Created February 19, 2021 00:02
Show Gist options
  • Save rac3rx/24036ecbdb7a78d538843db216cbc3c9 to your computer and use it in GitHub Desktop.
Save rac3rx/24036ecbdb7a78d538843db216cbc3c9 to your computer and use it in GitHub Desktop.
cross compilation marvell asustor arm
# http://developer.asustor.com/tools
# from https://neerajcodes.wordpress.com/2017/08/06/intro-to-cross-compilation/
export CCHOST=arm-marvell-linux-gnueabi
export TOOLCAHIN=../$CCHOST/bin/$CCHOST
export CC=$TOOLCAHIN-gcc
export LD=$TOOLCAHIN-ld
export CPP=$TOOLCAHIN-cpp
export CXX=$TOOLCAHIN-g++
export AR=$TOOLCAHIN-ar
./configure --prefix=$(pwd)/target/ --host=CCHOST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment