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: newbie question: need arm9 native gdb; how to compile gdb source for arm9?


Hi Marc;

On Monday 27 October 2003 14:38, Marc Kleine-Budde wrote:
> On Mon, Oct 27, 2003 at 02:23:13PM -0600, Wolcott, Ken (MED, Compuware) 
wrote:
> >   First tried the following:
> >
> > ../gdb-6.0/configure \
> > --host=i686-unknown-linux-gnu \
> > --build=i686-unknown-linux-gnu \
> > --target=arm-arm9-linux-gnu
> >
> > But this failed due to the fact that my native gcc and friends are
> > simplly named "gcc", not "i686-unknown-linux-gnu"...
>
> hmmm - is your host system a "i686-unknown-linux-gnu"
> what's the output of ./config.guess from gdb?

../gdb-6.0/config.guess
i686-pc-linux-gnu

> > ../gdb-6.0/configure --target=arm-arm9-linux-gnu
> >
> > which seemed to work fine for a native gdb which (hopefully) understands
> > arm9 corefiles, a crossgdb...
>
> hopefully :)
>
> > ../gdb-6.0/configure \
> > --host=arm-arm9-linux-gnu \
> > --build=i686-unknown-linux-gnu \
> > --target=arm-arm9-linux-gnu
>
> you should use the output of ./config.guess instead of
> i686-unknown-linux-gnu

  ah...doh! 

> BTW:
> If you have low resources on your target consider using gdbserver...

  Yes, I'll remind them about gdbserver...

> > because I want a native arm9 gdb they can run on the board itself.
> > make[1]: arm-arm9-linux-gnu-ar: Command not found
> >
> > I don't have an arm-arm9-linux-gnu-ar executeable as a result of running
> > crosstool :-(
>
> you probably have an ar es a result of crosstool...create a apropriate
> softlink (as Dan suggested) and you use the same target-tuple in
> all tools of your tools in the future....
>
> hth - marc

Thanks for the help...I'll try the output oif config.guess as input to 
configure.

Ken

------
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]