Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hard-float]

Hard-float is using the floating point unit on Raspberry Pi chip instead of the software floating point. Compiling in hard-float may result increase of FLOPS.

1
vote
3answers
2k views

Building drivers for rtl8811CU/rtl8821CU

I've extracted driver from cd that came with my wireless card and modified it to build on kernel versions up to 4.15. Thanks to similar drivers already patched for new kernels it was an easy task. I'...
0
votes
2answers
533 views

How do you compile a c++ programs to use Hard Float in Raspberry using Debian OS?

How do you compile a c++ program to use Hard Float registers? It is said in the FAQ section of Raspbian that the following tags are the only ones required when compiling. -march=armv6 -mfpu=vfp -...
2
votes
1answer
50 views

float, stream and toolchain

I'm working with a raspberry 2 running Arch Linux a4h-rpi2-arch 4.1.12-1-ARCH #1 SMP PREEMPT Tue Oct 27 19:16:16 MDT 2015 armv7l GNU/Linux I got some problem to display float on cout using c++ ...
1
vote
0answers
119 views

How can I tell if Java is performing properly?

There are many different versions of Java and many instructions on how to install the fastest Java version on a Raspberry Pi. How can I tell if the one I've installed is using hard floats? Are there ...
3
votes
1answer
1k views

Parsing Double in Mono (C#) fails

I need to serialize objects to JSON. If I install mono from apt-get, serializing with JSON.net does not work. I added this line into /etc/apt/sources.list: deb http://debian.meebey.net/experimental/...
0
votes
0answers
942 views

Compiling Mono 3.x on Raspberry Pi

To get rid of the soft float vs. hard float ABI problem I tried to install an up-to-date version of mono on my Raspberry Pi with git clone https://github.com/mono/mono.git cd mono git submodule init ...
36
votes
3answers
26k views

How can I tell if I am using the hard-float or the soft-float version of Debian/Raspbian?

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?
2
votes
1answer
787 views

Jamvm unable to run blocky on Arch Linux

I have compiled jamvm.I downloaded blocky for github and extracted it. Then I followed some instructions here and when I execute it: Error: jamvm VM not supported So I modified ./blocky-jamvm from ...
3
votes
2answers
2k views

Are there any technical limitations when running hard-float binaries on a soft-float OS?

Since the hardware is generally the same between Raspberry Pi's, the target hardware is known to have a hardware floating point unit. I also understand that some operating systems opt to use soft-FP ...
4
votes
1answer
2k views

Preparing for a binary distribution. Hard float, soft float or both?

I have some source code that I would like to distribute as a binary to users so they don't have to wait for about 20 mins for it to compile. However, I am a bit confused about hard and soft float ...
14
votes
3answers
10k views

How can I get and install Oracle's Java JVM for Raspbian?

A recent press release from Oracle suggests that they have just released a JVM for Raspbian. The key text is: Java SE 7 Update 6 introduces a JDK for Linux on ARM v6 and v7 to address “general ...
8
votes
1answer
2k views

Hard-float and performance

Ever since the official Raspbian image came out, there has been much talking about hard-float - often cited as one of the most prominent Raspbian features, promising "tremendous performance boost". I ...
5
votes
5answers
7k views

Can I install `libspotify` on Raspbian?

Is it possible to get libspotify working on the official Raspbian image? I installed it but couldn't figure out why my applications couldn't link to it: error while loading shared libraries: ...
12
votes
2answers
5k views

Why does python run relatively slowly?

I've been benchmarking the Pi on some of my simulation codes, relative to a couple of laptops I have. My codes tend to be floating point intensive, so I've been using Raspbian (which turns out to be ...