[yocto] Alternative SDK installation directory working?

Jack Mitchell ml at communistcode.co.uk
Mon Nov 19 05:06:44 PST 2012


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

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,

-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




More information about the yocto mailing list