# Specifying npm arm floating point type

**URL:** <https://discourse.nodered.org/t/specifying-npm-arm-floating-point-type/10338>\
**Category:** General\
**Created:** [18 April 2019 15:39 UTC](https://discourse.nodered.org/t/specifying-npm-arm-floating-point-type/10338 "2019-04-18T15:39:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aarcov](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@aarcov](https://discourse.nodered.org/u/aarcov)\
**Post date:** [18 April 2019 15:39 UTC](https://discourse.nodered.org/t/specifying-npm-arm-floating-point-type/10338/1 "2019-04-18T15:39:02Z")

</div>

I am trying to install the leveldb node ([https://github.com/node-red/node-red-nodes/tree/master/storage/leveldb](https://github.com/node-red/node-red-nodes/tree/master/storage/leveldb)) and am having issues adding it to my platform. The device is an AXC F 2152, and has a hardware floating point unit; however, I'm currently using Entware ([https://github.com/Entware/Entware](https://github.com/Entware/Entware)) as the software repository, which does not have a hardware floating point branch.

The leveldb node wants to build with floating point support, as I do not have compiler support (using gcc from Entware), I would like to build it with software floating point support instead. How should I proceed?

Hackish fixes that I've tried so far:

1. Manually edit /opt/include/gnu/stubs.h to only reference stubs-soft.h (removed stubs-hard.h), which fixes the first error that I encounter about being unable to find stubs-hard.h. However, it then fails at linking because of references to the VFP registers. I am assuming that something else somewhere is still trying to use hardware float support.
