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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 30 down vote accepted

Check for the existence of the directory:


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


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
Since someone just misinterpreted this, to make it absolutely clear: If you have a /lib/arm-linux-gnueabihf, your system is hard-float. – goldilocks Mar 25 '15 at 16:16

Your Answer


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.