gcc in Yocto

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

gcc in Yocto

10,083件の閲覧回数
niklasmolin
Senior Contributor I

Hi.

I'm trying to include gcc in my Linux image, when building in Yocto.

I recall before that I included :

IMAGE_FEATURES += " \

    dev-pkgs \

    tools-sdk \

"

But now it seems like it's not working anymore.

How do i include gcc compiler in my image?

Thanks,

Niklas

ラベル(2)
0 件の賞賛
返信
5 返答(返信)

2,510件の閲覧回数
LeonardoSandova
Specialist I

Clean your image

bitbake -c clean -f

If that does not help, add EXTRA_IMAGE_FEATURES? += "feature1 ...." into your local.conf.

Leo

0 件の賞賛
返信

2,510件の閲覧回数
niklasmolin
Senior Contributor I

Hi Leo.

You mentioned EXTRA_IMAGE_FEATURES, what kind of features should it be there to get the gcc?

Right now I can find the arm-poky..... commands in my image, but not the gcc it self.

I did a clean, both on my linux-imx and core-image...

Best regards,

Niklas

0 件の賞賛
返信

2,510件の閲覧回数
LeonardoSandova
Specialist I

Look at local.conf.sample under sources/poky/meta-yocto/conf. All default features are clearly explained there. BTW, what you need is the tool-sdk feature.

?

0 件の賞賛
返信

2,510件の閲覧回数
niklasmolin
Senior Contributor I

Hi Leo.

This is the error I get:

ERROR: 'tools-sdk' in IMAGE_FEATURES is not a valid image feature. Valid

features: dbg-pkgs debug-tweaks dev-pkgs doc-pkgs package-management

ptest-pkgs read-only-rootfs splash staticdev-pkgs

Best regards,

Niklas

On Fri, Mar 21, 2014 at 2:46 PM, Leonardo Sandoval Gonzalez <

0 件の賞賛
返信

2,510件の閲覧回数
niklasmolin
Senior Contributor I

I included gcc in my local.conf (IMAGE_INSTALL).

Then make a link in /usr/bin from the arm-poky.... to gcc etc.

0 件の賞賛
返信