[yocto] Building all packages using the released toolchain

Rick De Laet rdelaet at mri-inc.net
Wed Jan 12 17:21:35 PST 2011


I am new to yocto, I have installed yacto on Fedora 12.

I was trying to follow the steps in the getting started guide and was
trying a build with "bitbake make-native" and got some build errors in
"elfutils", but it was using the compiler in my Fedora distribution.  I
have also downloaded the toolchain in /opt/poky, and manually reran
configure in the elfutils to use the compilers in /opt/poky and it built
fine.

What config changes do I have to make so that bitbake builds everything
using the toolchain compilers rather than the default gcc?  (i.e have it
run each configure script so that it specifies the toolchain compiler
rather than use the default compiler)

I did run the environment script  

	/opt/poky/environment-setup-i586-poky-linux

but apparently more is required

Thanks in advance,

Rick.




More information about the yocto mailing list