This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


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: error cross-compiling gdbserver


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]