Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Let's assume that I am dropped into a room with a Raspberry Pi running either Debian or Raspbian. How do I find out if it has hard float support or if it is just using soft float?

share|improve this question

1 Answer 1

up vote 22 down vote accepted

Check for the existence of the directory:

/lib/arm-linux-gnueabihf

the soft-float version do not have this directory, they have:

/lib/arm-linux-gnueabi

instead, or you can list the packages installed using:

dpkg -l

and see the platform in the third column (all/armhf/armel)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.