Update rebuild rules in non-automake directories.

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Wed Aug 26 16:54:00 GMT 2009


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



More information about the Gdb-patches mailing list