Advertisement
dkonigsberg

BB10 Cross-Compile

Mar 2nd, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Environment setup
  2. -----------------
  3. RANLIB="${QNX_HOST}/usr/bin/ntoarmv7-ranlib "
  4. CPP="${QNX_HOST}/usr/bin/qcc -V4.6.3,gcc_ntoarmv7le -E "
  5. CC="${QNX_HOST}/usr/bin/qcc -V4.6.3,gcc_ntoarmv7le "
  6. LD="${QNX_HOST}/usr/bin/ntoarmv7-ld "
  7. CPPFLAGS="-D__PLAYBOOK__ -D__QNXNTO__ "
  8. CFLAGS=" -g -fPIC -fstack-protector-strong"
  9. LDFLAGS="-L${QNX_TARGET}/armle-v7/lib -L${PREFIX}/lib -lscreen -lasound
  10. -lpps -lm -lpng14 -lbps -lEGL -lGLESv2 -Wl,-z,relro -Wl,-z,now -pie"
  11.  
  12. Configure
  13. ---------
  14. ./configure --build=i686-pc-linux --host=arm-unknown-nto-qnx6.5.0eabi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement