Srinivasulu Reddy wrote: > hi, > I ran the build root for the At91SAM9260 procesor and it sucessfully > built the tool chain. > Wrote a "Hello World" program in "Device.c" filer and compiled using > ~/staging_dir/usr/arm-linux-uclibc/bin/gcc Device.c and got a.out > > Running a.out is printing "Hello World". How is it possible as the > code is built for ARM processor, where as my development machine is > X86. > > Pls help me and gimme more info on this > > Thanx in Advance > srinivas > _______________________________________________ > uClibc mailing list > [email protected] > http://busybox.net/cgi-bin/mailman/listinfo/uclibc > > Check your [cross???] gcc configuration executing it with -v... and verify if it has been really cross-configured... check for --target configure option Run also readelf -h a.out.. it has to say is a x86 executable.
Anyway it is not a uClibc issue, post it to buildroot list. Carmelo _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
