From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: yocto@yoctoproject.org
Subject: Re: Alternative SDK installation directory working?
Date: Mon, 19 Nov 2012 15:19:20 +0200 [thread overview]
Message-ID: <50AA31D8.5020700@intel.com> (raw)
In-Reply-To: <50AA2EE4.1000207@communistcode.co.uk>
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,
>
next prev parent reply other threads:[~2012-11-19 13:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-19 12:35 Alternative SDK installation directory working? Wolfgang Denk
2012-11-19 13:06 ` Jack Mitchell
2012-11-19 13:19 ` Laurentiu Palcu [this message]
2012-11-19 13:50 ` Wolfgang Denk
2012-11-19 14:21 ` Laurentiu Palcu
2012-11-19 13:46 ` Wolfgang Denk
2012-11-19 13:38 ` Eric Bénard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50AA31D8.5020700@intel.com \
--to=laurentiu.palcu@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.