On Sun, Jun 8, 2014 at 4:03 AM,  <[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

Use "arm-none-linux-gnueabihf" on a armhf system.

> -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.

You can also install "build-essential" on the beaglebone

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

-- 
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