gcc in Yocto

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

gcc in Yocto

11,282 次查看
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 回复数

3,709 次查看
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 项奖励
回复

3,709 次查看
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 项奖励
回复

3,709 次查看
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 项奖励
回复

3,709 次查看
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 项奖励
回复

3,709 次查看
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 项奖励
回复