try:<br><br>/path/to/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc -I/path/to/buildroot/build_i686/staging_dir/usr/include -L/path/to/buildroot/build_i686/staging_dir/usr/lib -lc hello_world.c -o hello_world<br>
<br><br><br><div class="gmail_quote">On Fri, May 9, 2008 at 1:46 PM, Muktabh Anchlia &lt;<a href="mailto:m_anchlia@hotmail.com">m_anchlia@hotmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
Hello,<br>I compiled a cross tool chain for AMD geode processor using buildroot. I wanted to test the cross tools, so wrote a simple hello world application, exported the ...staging-dir/usr/bin/ path and compiled the C code using i686-linux-uclibc-gcc. <br>
<br>When I run this program on the host machine, it gives me &quot;bad ELF interpreter&quot; as expected. But when I run it on the target, it gives me the following error<br>&quot;syntax error: &quot;(&quot; unexpected&quot;<br>
I couldn&#39;t figure out where I am going wrong.<br>Any help would be appreciated.<br><br>Thanks<br>Muktabh<br><br><b><font style="background-color: rgb(255, 255, 255);" color="#003366" face="Times New Roman, Times, Serif" size="1">&quot; I don&#39;t take sides, just the racing line &quot;</font></b><br>
</div>
<br>_______________________________________________<br>
buildroot mailing list<br>
<a href="mailto:buildroot@uclibc.org">buildroot@uclibc.org</a><br>
<a href="http://busybox.net/mailman/listinfo/buildroot" target="_blank">http://busybox.net/mailman/listinfo/buildroot</a><br></blockquote></div><br>