Cross-compiling and configure.ac macros

Andreas Vinsander andreas+jemalloc at vinsander.se
Thu Apr 14 05:16:14 PDT 2011


Hi,

I am trying to cross-compile jemalloc for evaluation on an embedded
device running a Linux home brew distro.

I have some problems with the way jemalloc tests for various support
of the host (target) system.

So far I have modified jemalloc-2.2.1 configure.ac as seen in the
attached patch, but there still exists a call to AC_RUN_IFELSE.

What is the best way to handle it? To use autoconf cache and supply a
default value when cross-compiling?

BR,
/Andreas Vinsander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cross_compilation.patch
Type: text/x-patch
Size: 1251 bytes
Desc: not available
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20110414/cb527519/attachment.bin>


More information about the jemalloc-discuss mailing list