Last active
August 15, 2023 07:59
Revisions
-
Gioyik renamed this gist
Jun 19, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Gioyik revised this gist
Dec 11, 2013 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,6 @@ export CPP="arm-linux-gnueabi-gcc -E" export LD="arm-linux-gnueabi-ld" export AS="arm-linux-gnueabi-as" export CCLD="arm-linux-gnueabi-gcc ${TARGET_ARCH} ${TARGET_TUNE}" export NM="arm-linux-gnueabi-nm" export STRIP="arm-linux-gnueabi-strip" export OBJCOPY="arm-linux-gnueabi-objcopy" @@ -22,26 +21,27 @@ export F77="arm-linux-gnueabi-g77 ${TARGET_ARCH} ${TARGET_TUNE}" unset LIBC #Define flags export CXXFLAGS="-march=armv7-a" export LDFLAGS="-L${CSTOOLS_LIB} -Wl,-rpath-link,${CSTOOLS_LIB} -Wl,-O1 -Wl,--hash-style=gnu" export CFLAGS="-isystem${CSTOOLS_INC} -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3" export CPPFLAGS="-isystem${CSTOOLS_INC}" export CCFLAGS="-march=armv7-a" #Tools export CSTOOLS=/usr/arm-linux-gnueabi export CSTOOLS_INC=${CSTOOLS}/include export CSTOOLS_LIB=${CSTOOLS}/lib export ARM_TARGET_LIB=$CSTOOLS_LIB export GYP_DEFINES="armv7=1" #Define other things, those are not 'must' to have defined but we added export SHELL="/bin/bash" export TERM="screen" export LANG="en_US.UTF-8" export MAKE="make" #Export the path for your system export HOME="/home/gioyik" #Change this one with the name of your user directory export PATH="${CSTOOLS}/bin:/usr/arm-linux-gnueabi/bin/:${HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" ./configure --without-snapshot --dest-cpu=arm --dest-os=linux -
Gioyik created this gist
Dec 10, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ #!/bin/sh -e #Define our target device export TARGET_ARCH="-march=armv7-a" export TARGET_TUNE="-mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb" #Define the cross compilators on your system export AR="arm-linux-gnueabi-ar" export CC="arm-linux-gnueabi-gcc" export CXX="arm-linux-gnueabi-g++" export LINK="arm-linux-gnueabi-g++" export CPP="arm-linux-gnueabi-gcc -E" export LD="arm-linux-gnueabi-ld" export AS="arm-linux-gnueabi-as" export CCLD="arm-linux-gnueabi-gcc ${TARGET_ARCH} ${TARGET_TUNE}" export CXX="arm-linux-gnueabi-g++ ${TARGET_ARCH} ${TARGET_TUNE}" export NM="arm-linux-gnueabi-nm" export STRIP="arm-linux-gnueabi-strip" export OBJCOPY="arm-linux-gnueabi-objcopy" export RANLIB="arm-linux-gnueabi-ranlib" export F77="arm-linux-gnueabi-g77 ${TARGET_ARCH} ${TARGET_TUNE}" unset LIBC #Define flags export CXXFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -ggdb3 -g3 -O0" export LDFLAGS="-L${CSTOOLS_LIB} -Wl,-rpath-link,${CSTOOLS_LIB} -Wl,-O1 -Wl,--hash-style=gnu" export CFLAGS="-isystem${CSTOOLS_INC} -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb3" export CPPFLAGS="-isystem${CSTOOLS_INC}" export CCFLAGS="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -ggdb3 -g3 -O0" #Tools export CSTOOLS=/usr/arm-linux-gnueabi export CSTOOLS_INC=${CSTOOLS}/include export CSTOOLS_LIB=${CSTOOLS}/lib export ARM_TARGET_LIB=$CSTOOLS_LIB #Define other things, those are not 'must' to have defined but we added export SHELL="/bin/bash" export TERM="screen" export LANG="en_US.UTF-8" export MAKE="make" export HOME="/home/gioyik" #Change this one with the name of your user directory #Export the path for your system export PATH="${CSTOOLS}/bin:/usr/arm-linux-gnueabi/bin/:${HOME}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" ./configure --without-snapshot --dest-cpu=arm --dest-os=linux bash --norc