<div>Hi Richard,</div><div> </div><div>thanks for your reply.</div><div>Indeed my doubt remain valid, because I'm not understanding why I can build an image (i.e. bitbake core-image-minimal)</div><div>simply building the cross-compiler uclibc based plus the other packages and instead I cannot create the</div>
<div>sdk containing an uclibc based toolchain (containing the cross-compiler), able to be installed and used by third part to build</div><div>their own target applications.</div><div> </div><div>For sure conceptually I'm missing something.</div>
<div> </div><div>Best Regards,</div><div>Giuseppe<br><br></div><div class="gmail_quote">2013/1/8 Richard Purdie <span dir="ltr"><<a href="mailto:richard.purdie@linuxfoundation.org" target="_blank">richard.purdie@linuxfoundation.org</a>></span><br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div class="HOEnZb"><div class="h5">On Tue, 2013-01-08 at 16:12 +0100, Giuseppe Condorelli wrote:<br>
> Hi All,<br>
><br>
> gcc-runtime nativesdk is failing due to the lack of libm.<br>
> I want to build meta-toolchain for uclibc, I mean obtaining the cross<br>
> compiler for these flavour, so libm should be<br>
> provided by the uclibc. But repository doesn't build any uclibc for<br>
> nativesdk, (it builds eglibc by default).<br>
> I'm in trouble to understand this, where is the answer I'm not<br>
> understanding?<br>
><br>
> Please can you help me?<br>
<br>
</div></div>What are you trying to build *exactly*?<br>
<br>
Do you want a toolchain that contains a compiler and uclibc for the<br>
target you're cross compiling for?<br>
<br>
or do you want the toolchain itself to use uclibc instead of glibc as<br>
well as whatever the target uses?<br>
<br>
The options would be:<br>
<br>
a) Uclibc based toolchain, glibc target system<br>
b) Uclibc based toolchain, uclibc target system<br>
c) glibc based toolchain, uclibc target system<br>
d) glibc based toolchain, glibc target system<br>
<br>
We only support c/d and only those combinations are known to work.<br>
<br>
Its important to differentiate between the C library the cross compiler<br>
links against compared to the C library the ultimate target system uses.<br>
<br>
Cheers,<br>
<br>
Richard<br>
<br>
<br>
<br>
</blockquote></div><br>