Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Cross-compiling iPerf on QNX Neutrino
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Cross-compiling iPerf on QNX Neutrino
  • SDP: 6.4.1
  • Host: Any supported host
________________________________________________________________________

Recommendation
________________________________________________________________________

Building is easy, getting the options for the configure script can be tricky though. Here's an example of how to build iperf on neutrino for an ARM target:
After downloading and un-tarring the source code run this command on a QNX host:
ac_cv_func_malloc_0_nonnull=yes ./configure CC=qcc -Vgcc_ntoarmle --host=i486-pc-nto-qnx6.5.0 --target=arm-unknown-nto-qnx6.5.0 CXX=arm-unknown-nto-qnx6.5.0-g++

For a Linux host try this:
ac_cv_func_malloc_0_nonnull=yes ./configure CC=ntoarm-gcc --host=i686-pc-linux-gnu --target=arm-unknown-nto-qnx6.5.0 CXX=arm-unknown-nto-qnx6.5.0-g++ CFLAGS=-static CXXFLAGS=-static

ac_cv_func_malloc_0_nonnull=yes tells the configure script that a malloc function does indeed exist and not to replace it with 'rpl_malloc', averting an eventual linker error.

Once the configure script is done running type 'make'.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.