<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2015-03-12 10:49 GMT-05:00 Jonathan Roelofs <span dir="ltr"><<a href="mailto:jonathan@codesourcery.com" target="_blank">jonathan@codesourcery.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">You need to build a sysroot from the lib and include directories in ~/research/musl-1.1.6 combined with the same folders from /usr/local/arm-2009q, then use `--sysroot` instead of the `-I`s and `-L's.</blockquote></div><br>I copied everything from the lib in musl-1.1.6 to arm-2009q3/arm-none-linux-gnueabi/libc/usr/lib but there is still an error message:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">src/env/__libc_start_main.c:(.text+0x40): undefined reference to `__aeabi_memset'</div><div class="gmail_extra">collect2: ld returned 1 exit status</div><div class="gmail_extra"><br></div><div class="gmail_extra">it seems that I need an arm-none-linux-gcc-4.9 (current version from arm-2009q3 is gcc-4.4) to support  the `__aeabi_memset' function?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Chao </div></div></div>