[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to distinguish armel and armhf at runtime?

There's some good stuff at
https://wiki.ubuntu.com/ARM/Thumb2PortingHowto but the real answer's
probably buried at http://infocenter.arm.com/help/index.jsp

You just have to be careful because armhf hardware can also run armel
(or the other way around) but only in one direction.

On 9/22/17, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
> Override the signal for SIGILL, then try to execute an instruction that is
> only available on either architecture, maybe?
> Adrian
>> On Sep 22, 2017, at 9:57 PM, Uwe Kleine-König <uwe@kleine-koenig.org>
>> wrote:
>> Hello,
>> for the package sparse I have to distinguish armel and armhf. The reason
>> is that sparse parses system headers and so has to know which cpp
>> symbols to define. Usually it uses uname -m to distinguish platforms but
>> that isn't suitable to tell armel and armhf apart.
>> For armhf I need to define __ARM_PCS_VFP but that must be absent on
>> armel.
>> For upstreaming a fix it would be great if the test would not be Debian
>> specific.
>> Any ideas?
>> Best regards
>> Uwe

No, I won't  call it "climate change", do you have a "reality problem"? - AB1JX
Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach  Impeach

Reply to: