Skip to content

Instantly share code, notes, and snippets.

@wadouk
Created March 30, 2020 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save wadouk/9daf83a7ec80f9dfd546e90bb058f301 to your computer and use it in GitHub Desktop.
Save wadouk/9daf83a7ec80f9dfd546e90bb058f301 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