Skip to contentSkip to conversation

How can I get the toolchain?

DISCUSSION Changhyeok Bae 4 participants 6 messages Apr 16, 2014 – Apr 17, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

How can I extract the toolchain in my oe build result?

Regards,
Changhyeok

#2 lore raw

Hi Changhyeok Bae,

I raised similar questions and received good pointers and explanations:

http://thread.gmane.org/gmane.comp.handhelds.openembedded

Find the QnA titled with:

[oe] Where can I get a arm cross toolchain for oe-core?

I only able to give you pointers to answers I received.

Good luck!

Sincerely
Journeyer

----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l d o t c o m
----------------------------------------

2014-04-16 17:02 GMT+09:00 Khem Raj <[email protected]>:

Quoted 25 lines
Quoted 4 lines · Changhyeok Bae

Hi,

How can I extract the toolchain in my oe build result?

bitbake -cpopulate_sdk <yourimage>
should generate a self-installer .sh script which then you can run and install it

Quoted 8 lines

Regards,
Changhyeok

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Thanks for your help.

In summary,
1) bitbake meta-toolchain
2) bitbake [target] -c populate_sdk ...

However, those were building ...nativesdk ...
I only would like to get the cross(arm) toolchain without building SDK toolchain.

Regards,
Changhyeok

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Journeyer J. Joh
Sent: Wednesday, April 16, 2014 9:57 PM
To: [email protected]
Subject: Re: [oe] How can I get the toolchain?

Hi Changhyeok Bae,

I raised similar questions and received good pointers and explanations:

http://thread.gmane.org/gmane.comp.handhelds.openembedded

Find the QnA titled with:

[oe] Where can I get a arm cross toolchain for oe-core?

I only able to give you pointers to answers I received.

Good luck!

Sincerely
Journeyer

----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l d o t c o m
----------------------------------------

2014-04-16 17:02 GMT+09:00 Khem Raj <[email protected]>:

Quoted 20 lines
Quoted 4 lines · Changhyeok Bae

Hi,

How can I extract the toolchain in my oe build result?

bitbake -cpopulate_sdk <yourimage>
should generate a self-installer .sh script which then you can run and install it

Quoted 8 lines

Regards,
Changhyeok

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 6 lines · Changhyeok Bae

Thanks for your help.

In summary,
1) bitbake meta-toolchain
2) bitbake [target] -c populate_sdk ...

Quoted 8 lines

However, those were building ...nativesdk ...
I only would like to get the cross(arm) toolchain without building SDK toolchain.

Regards,
Changhyeok

... those do build the cross sdk/toolchain. You take the huge script that is generated and install it on your PC, source the environment setup script and now you are setup to cross compile on your host for the target.

Regards,

Brian

#5 lore raw
Quoted 16 lines · Brian Hutchinson
Quoted 6 lines · Changhyeok Bae

Thanks for your help.

In summary,
1) bitbake meta-toolchain
2) bitbake [target] -c populate_sdk ...

Quoted 8 lines

However, those were building ...nativesdk ...
I only would like to get the cross(arm) toolchain without building SDK toolchain.

Regards,
Changhyeok

Quoted 9 lines

... those do build the cross sdk/toolchain. You take the huge script that is generated and install it on your PC, source the environment setup script and now you are setup to cross compile on your host for the target.

Regards,

Brian

... in your local.conf, you do have to set SDKMACHINE to something. I have to build toolchains that work on both 32 bit & 64 bit hosts so usually do a build with:
SDKMACHINE ?= "x86_64" ... then do another build of sdk with:
SDKMACHINE ?= "i686"