Cant determine armhf or armel

Hi

I have tried running “readelf -a /usr/lib/libc.so.6 | grep FP” but it cant find the file. I am running the Jessie OS.

Any suggestions

Thanks

Hi

I found this and it worked…

$ readelf -A /proc/self/exe | grep Tag_ABI_VFP_args

If the Tag_ABI_VFP_args tag is found, then you’re running on an armhf system. If nothing is returned, then it’s armel. To show you an example, here’s what happens on a Raspberry Pi running the Raspbian distribution:

pi@raspberrypi:~$ readelf -A /proc/self/exe | grep Tag_ABI_VFP_args
Tag_ABI_VFP_args: VFP registers

This indicates an armhf distro, which in fact is what Raspbian is.

Will be tagging our engineer @lpugoy in this and he will get back to you :slight_smile:

@Brendan_Gunn: Thanks for the heads up. I will be adding this to our how to.