[oe] LPC3250, helloworld-image, configure: error: cannot run C compiled programs

Holger Hans Peter Freyther holger+oe at freyther.de
Thu Aug 20 13:23:59 UTC 2009


On Thursday 20 August 2009 15:01:59 Dmitry Vinokurov wrote:
> Hello,
>
> I'm trying to build helloworld-image for LPC3250 board and created
> local.conf and lpc3250.conf (files attached) using prebuilt toolchain
> and 'bitbake -v helloworld-image' give following error:

I think you should explore using the external-toolchain. This way you will 
have to set the PATH to the toolchain and make "external-toolchain" the 
default provider...

And for the old way have you seen this: 
http://docs.openembedded.org/usermanual/html/commonuse_prebuilt_toolchain.html?

z.



>
> Looks like bitbake use ARM toolchain instead of X86 and of course it
> cannot run ARM targets on my laptop. Could somebody explain, please, how
> this mess with toolchains can be fixed?
>
> By the way, I don't understand why bitbake build gcc-cross-initial when
> I use external toolchain. Maybe I've configured something wrong and OE
> tries to build it's own toolchain, but seems like config is correct
> according to manual.
>
> Thanks in advance.




More information about the Openembedded-devel mailing list