Cross-compiling and macros

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


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 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?

/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: <>

More information about the jemalloc-discuss mailing list