From: Dan Kegel <dkegel@ixiacom.com>
To: "Wolcott, Ken (MED, Compuware)" <ken.wolcott@med.ge.com>
Cc: kleine-budde@gmx.de, gdb mailing list <gdb@sources.redhat.com>,
crossgcc@sources.redhat.com
Subject: Re: newbie question: need arm9 native gdb; how to compile gdb source for arm9?
Date: Mon, 27 Oct 2003 21:12:00 -0000 [thread overview]
Message-ID: <3F9D9593.8030801@ixiacom.com> (raw)
In-Reply-To: <200310271451.58382.ken.wolcott@med.ge.com>
That all looks fine. Can't imagine why it didn't find ar.
Did you also set PATH when doing the 'make'? All you show
in the script is the 'configure's.
- Dan
Wolcott, Ken (MED, Compuware) wrote:
> Hi Dan;
>
> This is my script to build gdb:
>
> **************************************************************
> #!/bin/bash
>
>
> export
> PATH="/tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin:/sbin:/usr/sbin:/usr/bin:/bin"
>
> # This builds an arm9 cross gdb...
> # ../gdb-6.0/configure --target=arm-arm9-linux-gnu
>
> # This builds a native arm9 gdb using i686-unknown-linux-gnu to build it...
> # ../gdb-6.0/configure --host=arm-arm9-linux-gnu
> --build=i686-unknown-linux-gnu --target=arm-arm9-linux-gnu
>
> # only use arm9 tools?
> ../gdb-6.0/configure --host=arm-arm9-linux-gnu --build=arm-arm9-linux-gnu
> --target=arm-arm9-linux-gnu
> **************************************************************
>
> This is the output of the ls:
> **************************************************************
> tuba:/tuba_local/gdb_6.0/build_arm9_gdb_6.0_try3> ls
> /tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-glibc-2.3.2/bin
> arm-arm9-linux-gnu-addr2line arm-arm9-linux-gnu-c++filt
> arm-arm9-linux-gnu-gccbug arm-arm9-linux-gnu-objcopy
> arm-arm9-linux-gnu-size
> arm-arm9-linux-gnu-ar arm-arm9-linux-gnu-cpp
> arm-arm9-linux-gnu-gcov arm-arm9-linux-gnu-objdump
> arm-arm9-linux-gnu-strings
> arm-arm9-linux-gnu-as arm-arm9-linux-gnu-g++
> arm-arm9-linux-gnu-ld arm-arm9-linux-gnu-ranlib
> arm-arm9-linux-gnu-strip
> arm-arm9-linux-gnu-c++ arm-arm9-linux-gnu-gcc
> arm-arm9-linux-gnu-nm arm-arm9-linux-gnu-readelf
> tuba:/tuba_local/gdb_6.0/build_arm9_gdb_6.0_try3>
> **************************************************************
>
> Thanks,
> Ken
>
> On Monday 27 October 2003 15:15, Dan Kegel wrote:
>
>>Wolcott, Ken (MED, Compuware) wrote:
>>
>>>../gdb-6.0/configure \
>>>--host=arm-arm9-linux-gnu \
>>>--build=i686-unknown-linux-gnu \
>>>--target=arm-arm9-linux-gnu
>>>
>>>because I want a native arm9 gdb they can run on the board itself.
>>>
>>>This failed due to:
>>>
>>>*************************************************************************
>>>********************** arm-arm9-linux-gnu-ar rc libiberty.a \
>>> regex.o cplus-dem.o cp-demangle.o md5.o alloca.o argv.o choose-temp.o
>>>concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o
>>>getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o
>>>lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o
>>>partition.o physmem.o pex-unix.o safe-ctype.o sort.o spaces.o
>>>splay-tree.o strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o
>>>xmemdup.o xstrdup.o xstrerror.o mkstemps.o
>>>make[1]: arm-arm9-linux-gnu-ar: Command not found
>>>make[1]: *** [libiberty.a] Error 127
>>>make[1]: Leaving directory
>>>`/tuba_local/gdb_6.0/build_arm9_gdb_6.0_try2/libiberty'
>>>make: *** [all-libiberty] Error 2
>>>*************************************************************************
>>>**********************
>>>
>>>I don't have an arm-arm9-linux-gnu-ar executeable as a result of running
>>>crosstool :-(
>>
>>What *do* you have as a result of running crosstool?
>>Can you do an 'ls' in the bin directory of the toolchain?
>>Sounds like maybe you just have a path set wrong...
>>
>>In other words, don't panic, your toolchain is probably fine...
>>- Dan
>
>
next prev parent reply other threads:[~2003-10-27 21:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-27 16:01 Wolcott, Ken (MED, Compuware)
2003-10-27 16:37 ` Dan Kegel
2003-10-27 16:41 ` Marc Kleine-Budde
2003-10-27 20:21 ` Wolcott, Ken (MED, Compuware)
2003-10-27 20:26 ` Dan Kegel
2003-10-27 20:50 ` Wolcott, Ken (MED, Compuware)
2003-10-27 21:12 ` Dan Kegel [this message]
2003-10-27 21:26 ` Wolcott, Ken (MED, Compuware)
2003-10-27 22:19 ` Dan Kegel
2003-10-27 22:40 ` Wolcott, Ken (MED, Compuware)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F9D9593.8030801@ixiacom.com \
--to=dkegel@ixiacom.com \
--cc=crossgcc@sources.redhat.com \
--cc=gdb@sources.redhat.com \
--cc=ken.wolcott@med.ge.com \
--cc=kleine-budde@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox