Advertisement
01ttouch

Cross-Compile environment

Jul 17th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. export CFLAGS="-march=armv7a -mtune=cortex-a15 -static -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=softfp -O3"
  2. export CXXFLAGS="-march=armv7a -mtune=cortex-a15 -static -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=softfp -O3"
  3. export CPPFLAGS="-I/media/files/compilenv/root/data/workbench/include/"
  4. export ARCH=arm
  5. export SUBARCH=arm
  6. # arm-none-linux-gnueabi toolchain is available in the AUR
  7. export CROSS_COMPILE=arm-none-linux-gnueabi-
  8. export CC="${CROSS_COMPILE}gcc"
  9. export CXX="${CROSS_COMPILE}g++"
  10. export AR="${CROSS_COMPILE}ar"
  11. export RANLIB="${CROSS_COMPILE}ranlib"
  12. echo "./configure --host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi --prefix=/data/workbench"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement