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

Mikael Pettersson mikpe@REDACTED
Thu Sep 23 00:58:59 CEST 2010


Michael Stapelberg writes:
 > Hi Mikael,
 > 
 > Excerpts from Mikael Pettersson's message of 2010-09-23 00:14:05 +0200:
 > > This is better, except it looks like it's missing several fields.
 > > Is that uname from a current coreutils or someone trying to emulate it.
 > The output of an original gnu-coreutils version looks quite similar:
 > 
 > Nokia-N900:~# /usr/bin/gnu/uname -a
 > Linux Nokia-N900 2.6.28.10power40 #1 PREEMPT Tue Aug 10 09:30:52 EEST 2010 armv7l GNU/Linux
 > Nokia-N900:~# uname -a
 > Linux Nokia-N900 2.6.28.10power40 #1 PREEMPT Tue Aug 10 09:30:52 EEST 2010 armv7l unknown

Hmm, I would have expected it to output the arch string more than once:

(coreutils-7.2-8.fc11 on an arm5tel box)

Linux $hostname $kernelver $builddate armv5tel armv5tel armv5tel GNU/Linux

I think it has to do with uname -m and -i and -p generating the same string.

 > Sure thing. I’ll file a bug report at bugs.maemo.org and submit a patch for the
 > erlang package there.

Yeah, I think that's the best solution for now.


More information about the erlang-patches mailing list