Re: [yocto] RPi app built with SDK won't load

2017-07-06 Thread Paul D. DeRocco
I incorporated all the relevant symbols from environment-setup-cortexa7hf-neon-vfpv4-poky-linux-gnueabi. I defined the compilation command as ${CC} ${CFLAGS} and the linker command as ${LD} ${LDFLAGS}. Other Eclipse settings added -O3 -Wall -c to the compile, and -s to the link. When I did

Re: [yocto] RPi app built with SDK won't load

2017-07-02 Thread Khem Raj
On Sat, Jul 1, 2017 at 6:07 PM, Paul D. DeRocco wrote: >> From: Andrea Galbusera [mailto:giz...@gmail.com] >> >> Could you please post the exact source code of your test >> program and the steps you take to (a) build the SDK and (b) >> build your test executable? Is your

Re: [yocto] RPi app built with SDK won't load

2017-07-02 Thread Pierre FICHEUX
Did you try compiling in text mode? $ $CC -o test test.c -- Pierre FICHEUX -/- CTO Smile-ECS, France -\- pierre.fich...@smile.fr http://www.smile.fr http://ingenierie.openwide.fr I would love to change the world, but they

Re: [yocto] RPi app built with SDK won't load

2017-07-01 Thread Paul D. DeRocco
> From: Andrea Galbusera [mailto:giz...@gmail.com] > > Could you please post the exact source code of your test > program and the steps you take to (a) build the SDK and (b) > build your test executable? Is your running image a pretty > standard one (core-image-minimal, rpi-test-image or so)

[yocto] RPi app built with SDK won't load

2017-06-29 Thread Paul D. DeRocco
I posted about this a week or so ago, but have narrowed things down further. I built a 32-bit non-GUI RPi image which works, built the corresponding SDK, and used the SDK's toolchain to build an empty C program (just "return 0;" inside main). When I run it on the target, the shell complains: