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 (j...@embed.me.uk)
  Embedded Systems Engineer
  http://www.embed.me.uk

--

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to