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?


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

BTW:
If you have low resources on your target consider using 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

-- 
<frank> Neues vom SCO...fuer angehende Juristen sicher lesenswert...
Aber wie schon jemand in den Kommentaren dort schrieb:
es gibt schon einen Grund, eher Techniker oder Ingenieur zu sein.... 

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