[erlang-patches] [PATCH] Detect arm/armel as ARCH=arm (to enable HiPE later on)

Mikael Pettersson mikpe@REDACTED
Wed Sep 22 23:17:18 CEST 2010


Michael Stapelberg writes:
 > Hi,
 > 
 > Attached you can find a patch which adds arm and armel as ARCH=arm in
 > erts/configure.in. This makes enabling HiPE possible when compiling (for
 > example) in the scratchbox cross compilation toolkit as provided by Nokia
 > to develop for the maemo platform (used on the Nokia N900). In other words:
 > This is necessary to get an Erlang version which supports HiPE on the Nokia
 > N900.
 > 
 > Please include this patch in the next release.

What is the output of `uname -a' on this platform?

I must admit I've never seen Linux/ARM platforms omit the
CPU ISA generation number before.  Accepting just plain 'arm'
risks us running on .e.g ARMv4 which I can't guarantee
will work -- HiPE has been developed and tested of ARMv5TE only.
(Not that I care about v4.  But I get the blame if it
built and then doesn't work at runtime.)

Not to mention v3 or v2 which I emphatically cannot support.

So why doesn't "maemo platform" say arm{v5,v6,v7}
like real native Linux platforms do?


More information about the erlang-patches mailing list