Created
March 30, 2020 17:30
-
-
Save wadouk/9daf83a7ec80f9dfd546e90bb058f301 to your computer and use it in GitHub Desktop.
cross compilation marvell asustor arm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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