Send the reply to the list too. My answer below. On 11/19/2012 03:06 PM, Jack Mitchell wrote: > On 19/11/12 12:35, Wolfgang Denk wrote: >> Hello, >> >> I wonder if the installation of the SDK into an alternative directory >> is actually working? >> >> Trying the latest snapshot >> http://autobuilder.yoctoproject.org/pub/nightly/CURRENT/toolchain/x86_64/poky-eglibc-x86_64-arm-toolchain-gmae-1.3+snapshot-20121119.sh >> I get this: >> >> Installation: >> >> -> sh ./poky-eglibc-x86_64-arm-toolchain-gmae-1.3+snapshot-20121119.sh >> Enter target directory for SDK (default: /opt/poky/1.3+snapshot): >> /opt/poky-test >> You are about to install the SDK to "/opt/poky-test". Proceed[Y/n]?Y >> Extracting SDK...done >> Setting it up...done >> SDK has been successfully set up and is ready to be used. >> >> >> Test: >> >> -> cat /tmp/x.c >> int main (void) >> { >> return 0; >> } >> -> source /opt/poky-test/environment-setup-armv5te-poky-linux-gnueabi >> -> ${TARGET_PREFIX}gcc -v -o /tmp/x /tmp/x.c
Just do: $CC -o /tmp/x /tmp/x.c It should work. echo $CC arm-poky-linux-gnueabi-gcc -march=armv5te -marm -mthumb-interwork -mtune=arm926ej-s --sysroot=/tests/sdk/sysroots/armv5te-poky-linux-gnueabi Thanks, Laurentiu > > I think you need a --sysroot in there. e.g. > --sysroot=/opt/poky-test/sysroots/arch-blah-blah-blah > >> What am I missing here? >> >> Best regards, >> >> Wolfgang Denk >> > > Regards, > _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
