On Sunday, 19 April 2015 at 17:39:43 UTC, Johannes Pfau wrote:
Am Sun, 19 Apr 2015 16:29:41 +0000
schrieb "Andrea Fontana" <nos...@example.com>:

First: It's a known bug? I didn't find anything about it on bug tracker.

You need to compile with --with-fpu=vfp (in crosstool-NG select the
correct FPU). (or any other supported fpu variant)

IIRC this is some GCC/binutils bug. vfp is the oldest supported and default fpu in gcc anyway. But binutils defaults to an older fpu target and gcc only passes the correct parameters when explicitly setting
--with-fpu.

Ok, I'll try tonight :)

Second: why if i compile without -static flag when I try to run my test it says "file not found"? Am I missing any library on my bbb? Can I fix it?

Never tried -static so I can't say anything about this.

It's the only way executable works. Maybe the reason is that system is linux-unknown-eabihf and compiler now create exec for linux-unknown-eabi so dynamic libraries won't match?

If tonight using --with-fpu it works, probably it isn't needed anymore.

Reply via email to