Created
March 28, 2018 17:06
-
-
Save arfeo/232e26ab4e8e9a9cafc428f1a45304f6 to your computer and use it in GitHub Desktop.
Compile for BB10
This file contains 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
#! /bin/sh | |
tmp_pwd=`pwd` | |
cd /Applications/Momentics.app && source bbndk-* && cd $tmp_pwd | |
QNX_BINS="${QNX_HOST}/usr/bin" | |
./configure CC="${QNX_BINS}/qcc" CXX="${QNX_BINS}/qcc" \ | |
LDFLAGS="-Vgcc_ntoarmv7le" RANLIB="ntoarmv7-ranlib" AR="ntoarmv7-ar" \ | |
CFLAGS="-Vgcc_ntoarmv7le" \ | |
OS=qnx6 --target=armv7 \ | |
--host=armv7 --with-zlib="$QNX_TARGET/usr/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment