Created
March 24, 2015 10:26
-
-
Save s1341/f1ae2e0079dc5f3500c3 to your computer and use it in GitHub Desktop.
qnx toolchain for frida
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
Things done to qnx toolchain: | |
1. Compile libiconv: | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 CC=/opt/qnx650/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.5.0-gcc ./configure --host=arm-unknown-nto-qnx6.5.0 --prefix=`pwd`/../install | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make install | |
2. Compile gettext: | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 CC=/opt/qnx650/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.5.0-gcc ./configure --host=arm-unknown-nto-qnx6.5.0 --prefix=`pwd`/../install | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make | |
QNX_HOST=/opt/qnx650/host QNX_TARGET=/opt/qnx650/target/qnx6 make install | |
3. Copy into qnx toolchain: | |
cp -r lib/* /opt/qnx650/target/qnx6/arm/armle/lib/ | |
cp -r include/* /opt/qnx650/target/qnx6/usr/include/ | |
4. Symlink libresolv to libsocket | |
cd /media/lab/tools/qnx/devev.6.5.3/qnx650/target/qnx6/armle/li | |
ln libsocket.so libresolv.so |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment