From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8283 invoked by alias); 27 Oct 2003 20:50:37 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 8268 invoked from network); 27 Oct 2003 20:50:36 -0000 Received: from unknown (HELO ext-ch1gw-3.online-age.net) (216.34.191.37) by sources.redhat.com with SMTP; 27 Oct 2003 20:50:36 -0000 Received: from int-ch1gw-3.online-age.net (int-ch1gw-3 [3.159.232.67]) by ext-ch1gw-3.online-age.net (8.12.9/8.12.9/990426-RLH) with ESMTP id h9RKoNVB020671; Mon, 27 Oct 2003 15:50:24 -0500 (EST) Received: from uswaumsxb4medge.med.ge.com (localhost [127.0.0.1]) by int-ch1gw-3.online-age.net (8.12.9/8.12.3/990426-RLH) with ESMTP id h9RKoMPj023503; Mon, 27 Oct 2003 15:50:23 -0500 (EST) Received: by uswaumsxb4medge.med.ge.com with Internet Mail Service (5.5.2656.59) id ; Mon, 27 Oct 2003 14:47:12 -0600 Received: from tuba.moneng.mei.com ([3.20.87.235]) by uswaumsxbhmedge.med.ge.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id VVRBMSH8; Mon, 27 Oct 2003 14:50:10 -0600 From: "Wolcott, Ken (MED, Compuware)" Reply-To: "Wolcott, Ken (MED, Compuware)" To: Dan Kegel Cc: kleine-budde@gmx.de, gdb mailing list , crossgcc@sources.redhat.com Content-Type: text/plain; charset="iso-8859-1" Organization: GEMS-IT Subject: Re: newbie question: need arm9 native gdb; how to compile gdb source for arm9? Date: Mon, 27 Oct 2003 20:50:00 -0000 User-Agent: KMail/1.4.3 References: <200310271003.17884.ken.wolcott@med.ge.com> <200310271423.13383.ken.wolcott@med.ge.com> <3F9D8AF5.5060902@ixiacom.com> In-Reply-To: <3F9D8AF5.5060902@ixiacom.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200310271451.58382.ken.wolcott@med.ge.com> X-SW-Source: 2003-10/txt/msg00297.txt.bz2 Hi Dan; This is my script to build gdb: ************************************************************** #!/bin/bash export=20 PATH=3D"/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=3Darm-arm9-linux-gnu # This builds a native arm9 gdb using i686-unknown-linux-gnu to build it... # ../gdb-6.0/configure --host=3Darm-arm9-linux-gnu=20 --build=3Di686-unknown-linux-gnu --target=3Darm-arm9-linux-gnu # only use arm9 tools? ../gdb-6.0/configure --host=3Darm-arm9-linux-gnu --build=3Darm-arm9-linux-g= nu=20 --target=3Darm-arm9-linux-gnu ************************************************************** This is the output of the ls: ************************************************************** tuba:/tuba_local/gdb_6.0/build_arm9_gdb_6.0_try3> ls=20 /tuba_local/crosstool/crosstool-0.24/result/arm-arm9-linux-gnu/gcc-3.2.1-gl= ibc-2.3.2/bin arm-arm9-linux-gnu-addr2line arm-arm9-linux-gnu-c++filt=20=20 arm-arm9-linux-gnu-gccbug arm-arm9-linux-gnu-objcopy=20=20 arm-arm9-linux-gnu-size arm-arm9-linux-gnu-ar arm-arm9-linux-gnu-cpp=20=20=20=20=20=20 arm-arm9-linux-gnu-gcov arm-arm9-linux-gnu-objdump=20=20 arm-arm9-linux-gnu-strings arm-arm9-linux-gnu-as arm-arm9-linux-gnu-g++=20=20=20=20=20=20 arm-arm9-linux-gnu-ld arm-arm9-linux-gnu-ranlib=20=20=20 arm-arm9-linux-gnu-strip arm-arm9-linux-gnu-c++ arm-arm9-linux-gnu-gcc=20=20=20=20=20=20 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=3Darm-arm9-linux-gnu \ > > --build=3Di686-unknown-linux-gnu \ > > --target=3Darm-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 --=20 Kenneth A. Wolcott Consultant, Clinical Systems Engineering GE Medical Systems Information Technologies 8200 West Tower Avenue, Milwaukee, WI 53223 Phone: 414/362-2720=20 Email: Ken.Wolcott@med.ge.com