This is the mail archive of the gdb-patches@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: Update rebuild rules in non-automake directories.


Hello Jan,

* Jan Kratochvil wrote on Wed, Aug 26, 2009 at 05:17:19PM CEST:
> currently
> 	make -C src/gdb check//unix
> 
> will do
> 	mkdir -p -- testsuite.unix/.
> 	running CONFIG_SHELL=/bin/sh /bin/sh ./configure ...
> 	/bin/sh: ./configure: No such file or directory
> 
> while for gdb-6.8 it did
> 	mkdir -p -- testsuite.unix/.
> 	running /bin/sh ../.././gdb/testsuite/configure ...
> 	configure: loading cache .././config.cache
> 	...
> 
> Tried to debug it now a bit but the code is really not an easy one to read,
> could you please check it?

How exactly do you configure and build the tree, and in which directory
are you in when you specify the above command?  I'm getting

  mkdir -p -- testsuite.unix/.
  running CONFIG_SHELL=/bin/sh /bin/sh ../../../src/gdb/testsuite/configure ...
  configure: loading cache ../config.cache
  ...

when running 'make check//unix' in $build which lives outside of src;
that seems to do the desired thing.  Do you build in-tree?

Thanks,
Ralf


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