Received: from [78.46.147.237] (helo=gandharva.secretlabs.de) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1MeIva-0002UQ-4Y for openembedded-devel@lists.openembedded.org; Fri, 21 Aug 2009 03:28:26 +0200 Received: from tamarin.localnet (123-192-185-227.dynamic.kbronet.com.tw [123.192.185.227]) by gandharva.secretlabs.de (Postfix) with ESMTPSA id E81301B10C0C for ; Fri, 21 Aug 2009 01:15:02 +0000 (UTC) From: Holger Hans Peter Freyther To: openembedded-devel@lists.openembedded.org Date: Fri, 21 Aug 2009 03:10:22 +0200 User-Agent: KMail/1.12.0 (Linux/2.6.31-rc4; KDE/4.3.0; i686; ; ) References: <4A8D4947.5030108@gmail.com> <200908201526.46349.holger+oe@freyther.de> <4A8D98FB.5000400@gmail.com> In-Reply-To: <4A8D98FB.5000400@gmail.com> MIME-Version: 1.0 Message-Id: <200908210310.22521.holger+oe@freyther.de> Subject: Re: LPC3250, helloworld-image, configure: error: cannot run C compiled programs X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Aug 2009 01:28:26 -0000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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*