This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: problem about crossgcc for xscale at x86 mandrake linux 8.1 host


On Fri, Apr 26, 2002 at 05:31:22PM +0800, psp wrote:
> configure --target=xscale-elf --prefix=mydir
> make install

So you build for an xscale-elf target...

> then i write a "hello world" program as init,  and i can run it using
> xscale-elf-run which is a program of cross-gcc tools, but it don't run at
> target, why?

And you run on a xscale-linux target... which is different,
different library calls, different startup code etc.

> i want your helps or advices, please.

If you have an arm-linux-gcc that works for you, just use
that one, you'll save yourself a bit of trouble. Otherwise,
build xscale-linux-gcc instead of xscale-elf-gcc.

HTH,
Yves


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]