Jump to content
43oh

gcc division problem


Recommended Posts

I'm new here so hi.

I have a problem compiling stellarisware with a custom build of gcc. I'm using the custom build because I want to learn how to build an arm toolchain on linux.

 

I used buildroot to build everything.

 

The problem I'm having is that on the qs_rgb example there is an error:

In function `__aeabi_ldiv0':

undefined reference to `raise'

 

I think this has to do with floating point division used in the example.

 

the makedefs file for stellarisware is set up to use software floating point.

 

I'm using gcc 4.7.1 and it is set to use software fpu by default.

 

Has anyone successfully built their own toolchain?

Link to post
Share on other sites

This was probably a dumb question.

I tried compiling from source but i don't think the gcc source has the same code as the one most people are using.

I got it to work for the blinky example but the fpu was not working in the qs-rgb example.

Eventually I downloaded from here https://launchpad.net/gcc-arm-embedded/+milestone/4.6-2012-q2-update

and everything is working

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...