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

Holger Hans Peter Freyther holger+oe at freyther.de
Fri Aug 21 01:10:22 UTC 2009


On Thursday 20 August 2009 20:42:03 Dmitry Vinokurov wrote:
> Holger Hans Peter Freyther wrote:
> > 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.
>
> Yes, I've seen manual and seems like I did everything that was told
> there. By the way I meant that I want to use exactly external toolchain.
> I used LTIB building system earlier and wanted to use toolchain from there.
>
> > On Thursday 20 August 2009 15:01:59 Dmitry Vinokurov wrote:
> >> 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.
> >
> > To figure out why OE is building the toolchain you can do
> >
> > bitbake -g helloworld
> >
> > and then look at the generated depends.dot. Looking at slugos.inc you
> > will need to set more ASSUMED_PROVIDED or go the external-toolchain route
> > (which sadly has not much documentation...)
> >
> > z.
>
> I've tested it (removed tmp dir and built from scratch): 'bitbake
> helloworld' doesn't try to build toolchain, looks like it use toolchain
> that I pointed. At least at the build log (I used -D) I can see
> 'CC=/opt/nxp/gcc-4.3.2-glibc-2.7/arm-vfp-linux-gnu/../bin/arm-vfp-linux-gnu
>-gcc',

To figure out why OE is building the toolchain you can do

bitbake -g helloworld

and then look at the generated depends.dot. Looking at slugos.inc you
will need to set more ASSUMED_PROVIDED or go the external-toolchain route
(which sadly has not much documentation...)


z.

PS: Seems the documentation was not updated when new depends got introduced... 
*sigh*




More information about the Openembedded-devel mailing list