From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22598 invoked by alias); 14 May 2008 12:16:45 -0000 Received: (qmail 22587 invoked by uid 22791); 14 May 2008 12:16:44 -0000 X-Spam-Check-By: sourceware.org Received: from cp-out7.libero.it (HELO cp-out7.libero.it) (212.52.84.107) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 May 2008 12:16:21 +0000 Received: from localhost (151.21.198.128) by cp-out7.libero.it (8.5.014) id 482ACDB80000F298 for gdb@sourceware.org; Wed, 14 May 2008 14:16:18 +0200 Received: from zino by localhost with local (Exim 4.69) (envelope-from ) id 1JwFih-0005zl-2D for gdb@sourceware.org; Wed, 14 May 2008 14:04:31 +0200 Date: Wed, 14 May 2008 12:16:00 -0000 From: Davide Viti To: gdb@sourceware.org Subject: Re: error cross-compiling gdbserver Message-ID: <20080514120430.GA22732@slurpy> References: <20080514111812.GA19455@slurpy> <20080514114218.GB5721@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080514114218.GB5721@caradoc.them.org> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00109.txt.bz2 On Wed, May 14, 2008 at 07:42:18AM -0400, Daniel Jacobowitz wrote: > On Wed, May 14, 2008 at 01:18:12PM +0200, Davide Viti wrote: > > libtool: compile: arm-wrs-linux-gnueabi-arm-glibc_full-gcc -DHAVE_CONFIG_H -I. -I../../../gdb-6.8/bfd -I. -I. -I../../../gdb-6.8/bfd -I../../../gdb-6.8/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -mlittle-endian -mcpu=arm926ej-s -mthumb -c -DDEFAULT_VECTOR=bfd_elf32_littlearm_vec "-DSELECT_VECS=&bfd_elf32_littlearm_vec,&bfd_elf32_bigarm_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec" "-DSELECT_ARCHITECTURES=&bfd_arm_arch" -DHAVE_bfd_elf32_littlearm_vec -DHAVE_bfd_elf32_bigarm_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec ../../../gdb-6.8/bfd/archures.c -o archures.o > > arm-wrs-linux-gnueabi-gcc.exe: no input files > > > > 'bfd_elf32_littlearm_vec' is not recognized as an internal or external command, > > You have some sort of mismatch between your build tools and your > shell. Possibly the version of shell being used by the current > version of make. I know that the compiler you reference is a native > Windows application rather than a Cygwin one; if something else > involved is native Windows it may be handling the quotes and ampersand > differently than expected. yes, the compiler war probably built on mingw32 (that is what the specs file seems to say) and I'm on cygwin; I quickly tried to install and use mingw for building gdb{server} but I get some other errors not worth investigating ATM. > > Fortunately this is not a problem. Run gdb/gdbserver/configure > instead of the top level configure script if all you need for the > target is gdbserver. right, and it also works ! thanx a lot for your help, now it's time to try it before getting back asking for more help:) Davide