swebb2066 commented on issue #304:
URL: 
https://github.com/apache/logging-log4cxx/issues/304#issuecomment-1834691680

   Cross compiling APR is a little tricky as APR use of autotools requires the 
configuration variables of the target (QNX in your case) system. You need to 
generate a configure script on a host system using:
   `./configure --cache-file=QNX-aarch64le.cache`
    and then remove the 'precious' autoconf variables ( ac_cv_env_* ) from 
QNX-aarch64le.cache before using the crosscompiler
   ```
   export CC=....
   export CCFLAGS=...
   ./configure --cache-file=QNX-aarch64le.cache
   
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to