[erlang-patches] Updates for cross-compiling HiPE

Frank Hunleth <>
Thu Mar 1 16:30:08 CET 2012

Hi all,

I've made a couple updates to support cross-compiling HiPE. I've split
these into two patches. The first is a trivial update to configure.in
which seems like it should be generally useful even for people not
cross-compiling. The second is the addition of qemu-user to the build
process so that cross-compiled binaries can be run as part of the
build process. I needed this to be able to run hipe_mkliterals without
major makefile surgery. In the future, the use of qemu-user seems like
it may be useful for cross-compiling beams. I have not looked into
that yet.

The first patch is here:

git fetch git://github.com/fhunleth/otp.git add_arch_and_opsys_to_configure

Hopefully the patch and commit comment make sense.

The second patch to add qemu-user support is here:

git fetch git://github.com/fhunleth/otp.git

I have attempted to test both of these patches (for an ARM target) and
others have told me that the cross-compiled version of HiPE works for
them. However, if there are any particular tests that I should run on
the target, please let me know.


More information about the erlang-patches mailing list