Dear Jack Mitchell, In message <[email protected]> you wrote: > > > -> source /opt/poky-test/environment-setup-armv5te-poky-linux-gnueabi > > -> ${TARGET_PREFIX}gcc -v -o /tmp/x /tmp/x.c > > I think you need a --sysroot in there. e.g. > --sysroot=/opt/poky-test/sysroots/arch-blah-blah-blah
I see. Thanks for pointing out. However, this still leaves a number of somewhat suspicious messages: -> $CC -v -o /tmp/x /tmp/x.c ... ignoring nonexistent directory "/opt/poky-test/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/../../lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/../../../../../arm-poky-linux-gnueabi/include" ignoring duplicate directory "/opt/poky-test/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/../../lib/armv5te-poky-linux-gnueabi/gcc/../../../lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/include" ignoring nonexistent directory "/opt/poky-test/sysroots/armv5te-poky-linux-gnueabi/usr/local/include" ignoring duplicate directory "/opt/poky-test/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/../../lib/armv5te-poky-linux-gnueabi/gcc/../../../lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/include-fixed" ignoring nonexistent directory "/opt/poky-test/sysroots/x86_64-pokysdk-linux/usr/bin/armv5te-poky-linux-gnueabi/../../lib/armv5te-poky-linux-gnueabi/gcc/../../../lib/armv5te-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.7.2/../../../../../arm-poky-linux-gnueabi/include" #include "..." search starts here: ... Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected] This cultural mystique surrounding the biological function -- you realize humans are overly preoccupied with the subject. -- Kelinda the Kelvan, "By Any Other Name", stardate 4658.9 _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
