Thanks Robert,

I have used the "arm-none-linux-gnueabihf" compiler, and it works fine!

Fran.

On Sunday, June 8, 2014 11:03:30 AM UTC+2, [email protected] wrote:
>
>
> Hi to everybody.
>
> I'm a new beaglebone user. I'm using the Ubuntu Robert C Nelson image (
> http://elinux.org/BeagleBoardDebian#eMMC:_BeagleBone_Black).
>
> I'm trying to uses the math.h library, atan(), asin() and cos() functions. 
> But these function doesn't work on my beaglebone. I'm using the 
> arm-none-linux-gnueabi crosscompiling tool. I saw that I must include the 
> -lm option to linking the executable with the library. I have not any 
> compiling error neither warning, but the functions listed above doesn't 
> work, they return wrong results.
>
> Anyone can help me. How could I make work the math.h library work on the 
> beaglebone under ubuntu distribution.
>
> Regards.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to