[oe] [2011.03-maintenance] using sdk as external toolchain

George C. Huntington, III george.huntingtoniii at gmail.com
Thu Oct 13 19:57:49 UTC 2011


I think my problem was caused by the
PATH_prepend = "${TOOLCHAIN_PATH}/bin:"
it seems to catch the pkg-config from the TOOLCHAIN_PATH, instead of the one
in the sysroots/x86_64-linux/usr/bin
when I change to PATH_append = ":${TOOLCHAIN_PATH}/bin"
it seems to work.

I will wipe out my tmp dir and try again to be sure.


On Thu, Oct 13, 2011 at 2:21 PM, George C. Huntington, III <
george.huntingtoniii at gmail.com> wrote:

>
>
> On Thu, Oct 13, 2011 at 1:04 PM, Denys Dmytriyenko <denis at denix.org>wrote:
>
>> On Thu, Oct 13, 2011 at 11:22:05AM -0400, George C. Huntington, III wrote:
>> > I've built an sdk with oe on the 2011.03-maintenance branch, and I am
>> now
>> > trying to set up a local.conf to use the sdk as an external toolchain
>> and I
>> > get problems building gtk+-native.  any ideas on where I should start
>> > debugging this?
>>
>> gtk+-native should be built by the host toolchain, not the target one from
>> SDK - are you sure you are setting all the correct build variables
>> properly?
>>
> I think I am setting the build variables properly, but I'm not quite sure
> where the correct place to look would be.
> I was hoping the manual or the wiki would have a "this is how you build an
> SDK" and "this is how you use the SDK you just built, as an external
> toolchain"
> I think I get how to build an SDK with the meta-sdk recipe, the other part
> is less clear.
> you can talk to me on irc, I use gchiii as my nickname there.
>
>>
>> Moreover, it's hard to help you debug your issue, if you don't provide
>> details, such as your local.conf and the build logs...
>>
>> --
>> Denys
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
>



More information about the Openembedded-devel mailing list