Help regrading Cross Compilation
Carmelo AMOROSO
carmelo.amoroso at st.com
Fri Oct 12 13:45:56 UTC 2007
Srinivasulu Reddy TV wrote:
>
> Thank you very much for u r reply
> as u said it all shows i86
> so where will be my cross compiler be located in the build root after
> the succesful make for the arm processor
> Plz help me in that
> thanx
> srinvias
I don't use buildroot... anyway I don't think the issue is where gcc is
located...
why your gcc is not properly configured?
Please, again, post your issue to buildroot ML.
>
>
>
>
>
> On 10/12/07, *Carmelo AMOROSO* <carmelo.amoroso at st.com
> <mailto:carmelo.amoroso at st.com>> wrote:
>
> 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
> > uClibc at uclibc.org <mailto:uClibc at uclibc.org>
> > 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
>
>
>
>
More information about the uClibc
mailing list