I tried, according to the documentation at <a href="http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#extracting-the-root-filesystem">http://www.yoctoproject.org/docs/current/adt-manual/adt-manual.html#extracting-the-root-filesystem</a>), to configure and compile the autotooled GNU Hello World Applcation for x86 and ARM with<div>
<br></div><div>./configure --host=i586-poky-linux --with-libtool-sysroot=${YOCTODIR}/adt-sysroots/x86</div><div><br></div><div>and</div><div><br></div><div>./configure --host=armv5te-poky-linux-gnueabi --with-libtool-sysroot=${YOCTODIR}/adt-sysroots/arm</div>
<div><br></div><div>As expected configure does not recognize --with-libtool-sysroot: configure: WARNING: unrecognized options: --with-libtool-sysroot.</div><div><br></div><div>Running the suggested commands:</div><div><br>
</div><div><pre class="literallayout" style="overflow:auto;color:rgb(51,51,51)"><font face="arial, helvetica, sans-serif">$ libtoolize --automake
$ aclocal -I ${OECORE_NATIVE_SYSROOT}/usr/share/aclocal \
        [-I <dir_containing_your_project-specific_m4_macros>]
$ autoconf
$ autoheader
$ automake -a</font></pre><div><font face="arial, helvetica, sans-serif">did not make a difference (same error message). However, compiling the application worked just fine.</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif">Questions:</font></div><div><ul><li><span style="font-family:arial,helvetica,sans-serif">What exactly is --with-libtool-sysroot supposed to do?</span></li><li><span style="font-family:arial,helvetica,sans-serif">What could be the reason that the steps to update the configure script to recognize the option do not work?</span></li>
</ul><div><font face="arial, helvetica, sans-serif">Suggestion:</font></div></div><div><ul><li><font face="arial, helvetica, sans-serif">Add --prefix to </font>./configure --host=armv5te-poky-linux-gnueabi --with-libtool-sysroot=<sysrootdir> --prefix=<sysrootdir>/<prefix> so that make install actually installs into the system root.</li>
</ul><div>:rjs</div></div><div><br></div></div>