[Buildroot] Application execution fails

John Voltz john.voltz at gmail.com
Fri May 9 18:26:43 UTC 2008


try:

/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



On Fri, May 9, 2008 at 1:46 PM, Muktabh Anchlia <m_anchlia at hotmail.com>
wrote:

>  Hello,
> 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.
>
> When I run this program on the host machine, it gives me "bad ELF
> interpreter" as expected. But when I run it on the target, it gives me the
> following error
> "syntax error: "(" unexpected"
> I couldn't figure out where I am going wrong.
> Any help would be appreciated.
>
> Thanks
> Muktabh
>
> *" I don't take sides, just the racing line "*
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20080509/d2673767/attachment-0002.htm 


More information about the buildroot mailing list