hellguide
Posts: 15
Joined: Thu Jun 21, 2012 12:18 am

automake1.7 & build-essential

Thu Jul 12, 2012 7:23 pm

This might be a n00b question, however valid. I installed a newer version of automake and GCC from the Raspbian repositories. Will the raspberry pi still compile for hard float by default or will I have to set flags on newer versions?
Thanks in advance.

User avatar
mpthompson
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
Contact: Website

Re: automake1.7 & build-essential

Thu Jul 12, 2012 10:34 pm

Any build tools you get from the Raspbian repository should be set to automatically build applications that take full advantage of hard floating point instructions. If you find an instance where that is not true (and you shouldn't) then it would be considered a bug and we would work to fix the problem.

The only exception to this might be with some of the JIT interpreters which may only support armv7 floating point instructions which aren't supported on the Raspberry Pi armv6 CPU. In such instances we might not have to configure the JIT interpreter to not use hard float instructions. I would have to look over notes to see if we had to do this in some cases (I don't recall off the top of my head). However, with some interpreters such as V8 we were able to coax them to produce armv6 instructions so the code runs as fast as possible on the Raspberry Pi.

Return to “Raspbian”