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] |
Anybody use the cross compiler generated by crosstool to compile gdb 5.3 or 6.0 before?
I do:
export CC=/foo/..../arm-linux-gnu-gcc mkdir gdb-build cd gdb-build ../gdb-5.3/configure --target=arm-linux-gnu --prefix=/foo
then come to the problem that term library not found. I googled but can
not find sth useful.
You need to cross-build and install ncurses. In theory, giving --builduserland when you install crosstool will do this...
if possible, can sb give me a link about hwo to cross compile the gdb?
Only hitch with gdb-6.0 is you need to set an environment variable, I hear: http://sources.redhat.com/ml/gdb/2003-08/msg00327.html
I posted some notes about doing it with gdb-5.3 earlier, but 6.0 is probably the way to go now.
------ 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] |