arm toolchain hard float?

Asked by madigan854

I was reading the Gnu Arm eclipse page, I am looking for a solution to a problem and wondered if your instructions would help me? I downloaded your toolchain, but it doesn't specify if it is a hard float version. I am working to embed an application on the beaglebone black and have run into a problem with a new toolchain.

When I compile a file that has
#include <iostream> or any c++ include I get the error that it can't find the include file features.h.

I have tried everything I can think of. My old toolchan would downgrade the libraries on the beaglebone black so I figured it was time to upgrade. This is a potential business opportunity so I am pushed to find a way to get to build my application.

Thanks in advance for your help.

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Andre Vieira (andre-simoesdiasvieira) said :
#1

Hi Madigan854,

So to clarify a couple of things first. The beaglebone black is a board that comes with OS support and if you are running an OS on it, say Ubuntu or Debian, then this is NOT the right toolchain to use. This toolchain (arm-none-eabi) is meant for bare-metal development of ARM architectures.

Secondly, this toolchain does not come with an hard float abi library for armv7-a architectures. So even though you will be able to produce assembly for hard-float ABI armv7-a, the provided multilib for armv7-a is soft ABI only.

As for the error that you get, can you show me the command line you used and the version of the compiler you are using?

What old toolchain were you using?

Cheers,
Andre

Revision history for this message
madigan854 (raymond-madigan) said :
#2

Thank you for the details about your library. I haven't figured out how
best to implement my project, it might come in handy.

the old toolchain was Linaro GCC 4.9-2014-09
the new toolchain is Linaro 5.2-2015.11

This issue must involve moving from 4.9 to 5.2 and I probably shouldn't
have waited so long.

On Wed, Jan 20, 2016 at 6:22 AM, Andre Vieira <
<email address hidden>> wrote:

> Your question #281209 on GCC ARM Embedded changed:
> https://answers.launchpad.net/gcc-arm-embedded/+question/281209
>
> Status: Open => Answered
>
> Andre Vieira proposed the following answer:
> Hi Madigan854,
>
> So to clarify a couple of things first. The beaglebone black is a board
> that comes with OS support and if you are running an OS on it, say
> Ubuntu or Debian, then this is NOT the right toolchain to use. This
> toolchain (arm-none-eabi) is meant for bare-metal development of ARM
> architectures.
>
> Secondly, this toolchain does not come with an hard float abi library
> for armv7-a architectures. So even though you will be able to produce
> assembly for hard-float ABI armv7-a, the provided multilib for armv7-a
> is soft ABI only.
>
> As for the error that you get, can you show me the command line you used
> and the version of the compiler you are using?
>
> What old toolchain were you using?
>
> Cheers,
> Andre
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/gcc-arm-embedded/+question/281209/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/gcc-arm-embedded/+question/281209
>
> You received this question notification because you asked the question.
>

Revision history for this message
Andre Vieira (andre-simoesdiasvieira) said :
#3

You should contact Linaro for questions related to their toolchain. Try https://support.linaro.org/forums ?

Cheers,
Andre

Can you help with this problem?

Provide an answer of your own, or ask madigan854 for more information if necessary.

To post a message you must log in.