Op 18 jul. 2014, om 05:13 heeft Khem Raj <raj.k...@gmail.com> het volgende geschreven:
> On Thu, Jul 17, 2014 at 3:19 PM, Mark Ruys <m...@paracas.nl> wrote: >> Is this because 'hello' is compiled as a hard-float binary which the >> BeagleBone doesn't run, or because the hello binary is compiled for Angstrom >> v2013.12 which is not compatible with v2012.12. If not, what is the problem >> here?How do I get a 'hello' binary that does run on my bbb? > > yes your hello is compiled with hf ABI whereas your rootfs is soft float ABI Ah, that explains, thanks Khem Raj. So then I tried: $ arm-angstrom-linux-gnueabi-gcc -mfloat-abi=soft -o hello.soft hello.c In file included from /home/markr/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/beagleboard/usr/include/features.h:388:0, from /home/markr/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/beagleboard/usr/include/stdio.h:27, from hello.c:1: /home/markr/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/beagleboard/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory # include <gnu/stubs-soft.h> ^ compilation terminated. make: *** [default] Error 1 $ ls -l /home/markr/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/beagleboard/usr/include/gnu/ total 20 -rw-r--r-- 1 markr markr 1263 Jul 17 07:52 libc-version.h -rw-r--r-- 1 markr markr 3172 Jul 17 07:52 lib-names.h -rw-r--r-- 1 markr markr 1837 Jul 17 07:55 option-groups.h -rw-r--r-- 1 markr markr 295 Jul 17 07:52 stubs.h -rw-r--r-- 1 markr markr 715 Jul 17 07:55 stubs-hard.h Apparently, I miss the soft subs. I got the tree above by MACHINE=beagleboard ./oebb.sh config beagleboard MACHINE=beagleboard ./oebb.sh update MACHINE=beagleboard ./oebb.sh bitbake virtual/kernel I have to figure out how to compile for ABI soft float yet. Another route would be to use a hard FP roots on my BeagleBones. I guess that would be a case of copying the Angstrom kernel I build to the BBB. But if so and how is yet unclear to me. I guess I'll google a bit around. Mark > > _______________________________________________ > Angstrom-distro-devel mailing list > Angstrom-distro-devel@linuxtogo.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel _______________________________________________ Angstrom-distro-devel mailing list Angstrom-distro-devel@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel