I&#39;l try installing a gnu-arm tool-chain from source and compiling my libraries. I&#39;m running into other problems such as the finished contiki binary being about 250k. <br><br><div class="gmail_quote">On Mon, Dec 7, 2009 at 11:05 AM, Mariano Alvira <span dir="ltr">&lt;<a href="mailto:mar@devl.org">mar@devl.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, Dec 07, 2009 at 09:34:18AM -0500, Camilo, Alex wrote:<br>
&gt; Thanks for the help. I made it to the linker and i got the following errors.<br>
&gt; I don&#39;t understand why a library would use hardware floating point. I was under<br>
&gt; the assumption that the arm7tdmi in this chip lacks the requisite coprocessor.<br>
<br>
</div><div class="im">&gt; arm-elf-gcc -T ../../cpu/mc1322x/mc1322x.lds -nostartfiles -static<br>
&gt; -DCONTIKI_TARGET_MC1322X -I. -I../../core -I../../cpu/mc1322x -I../../cpu/<br>
&gt; mc1322x/loader -I../../cpu/mc1322x/dbg-io -I../../platform/mc1322x  -DWITH_UIP<br>
&gt; -DWITH_ASCII -DMCK= -Werror -mcpu=arm7tdmi-s -mthumb-interwork -march=armv4t<br>
&gt; -mtune=arm7tdmi-s -DCONFIG_ARM -D__ARM__ -g  -Os -DRUN_AS_SYSTEM -DROM_RUN<br>
&gt; -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float -DTEXT_BASE=<br>
&gt; 0x00400000 -fno-builtin-printf -fno-builtin-sprintf  -I. -I../../platform/<br>
&gt; mc1322x/. -I../../platform/mc1322x/apps -I../../platform/mc1322x/net -I../../<br>
&gt; cpu/mc1322x/. -I../../core/dev -I../../core/lib -I../../core/net -I../../core/<br>
&gt; net/mac -I../../core/net/rime -I../../core/net/routing -I../../core/sys -I../..<br>
&gt; /core/cfs -I../../core/ctk -I../../core/lib/ctk -I../../core/loader -I../../<br>
&gt; core/. -nostartfiles -o hello-world.mc1322x <a href="http://hello-world.co" target="_blank">hello-world.co</a> obj_mc1322x/<br>
&gt; contiki-mc1322x-main.o obj_mc1322x/startup.o obj_mc1322x/symbols.o<br>
&gt; contiki-mc1322x.a contiki-mc1322x.a<br>
&gt; /Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/arm-elf/4.4.2/../../../../<br>
&gt; arm-elf/bin/ld: ERROR: /Users/acamilo/yagarto/yagarto-4.4.2/bin/../lib/gcc/<br>
&gt; arm-elf/4.4.2/interwork/libgcc.a(_udivsi3.o) uses hardware FP, whereas<br>
&gt; hello-world.mc1322x uses software FP<br>
<br>
</div>To me this looks like your glibc is using hardware FP. The OE<br>
toolchain builds glibc with &quot;--without-fp&quot;<br>
<br>
from glibc/glibc-package.bbclass:<br>
<br>
def get_glibc_fpu_setting(bb, d):<br>
    if bb.data.getVar(&#39;TARGET_FPU&#39;, d, 1) in [ &#39;soft&#39; ]:<br>
        return &quot;--without-fp&quot;<br>
    return &quot;&quot;<br>
<br>
<br>
TARGET_FPU is set to soft in mc1322x/conf/machine/mc13224v.conf<br>
<br>
I&#39;ve never used yagarto. Can you build glibc with --without-fp?<br>
<br>
-Mar.<br>
</blockquote></div><br><br clear="all"><br>-- <br>Alex Camilo<br>1-877-474-6038 ext#703<br>Head of Research and Design at Neuron Robotics, LLC.<br><a href="http://www.neuronrobotics.com">www.neuronrobotics.com</a><br>