Re: [Patch] New target to generate cscope database

2009-05-07 Thread Ben Pfaff
Ralf Wildenhues ralf.wildenh...@gmx.de writes: Does cscope offer enough additional functionality over, say, Exuberant Ctags or gtags, to warrant being supported? Do many people use it? The most useful feature of cscope that is not in *tags (as far as I know) is that it maintains a list of

Re: [Patch] New target to generate cscope database

2009-05-07 Thread Ralf Wildenhues
Hi Debarshi, * Debarshi Ray wrote on Thu, May 07, 2009 at 11:51:52AM CEST: I found a discussion involving Jesse Barnes (http://sources.redhat.com/ml/automake/2004-07/msg00051.html) which seemed inconclusive. I have tried this patch with Automake 1.10.2 and the msmtp source base and it

Re: [Patch] New target to generate cscope database

2009-05-07 Thread Debarshi Ray
Updated patch: http://rishi.fedorapeople.org/gnu/0001-New-target-to-generate-cscope-database.patch and inlined below. Changes: + Removed the -R being passed to cscope. It does, indeed, cause files not owned by the project to be indexed. (Ralf) + Added cscope to AM_RECURSIVE_TARGETS. Should it be

What differs in cross-compiling mode?

2009-05-07 Thread Christian Rössel
configure switches to cross-compiling mode if I call it with build != host like in ./configure --build=powerpc64-unknown-linux-gnu --host=powerpc-bgp-linux-gnu CC=bgxlc Can someone explain to me what implications that has for configure checks and the build in general? I can see that configure

Passing modified options to nested configure

2009-05-07 Thread Christian Rössel
Consider following cross-compile scenario where I want to build programs and libraries for the host (backend) as well as for the build (frontend). There are programs/libraries that should be build for the frontend only, for the backend only and for the frontend as well as for the backend. I issue

Passing modified options to nested configure

2009-05-07 Thread Christian Rössel
Consider following cross-compile scenario where I want to build programs and libraries for the host (backend) as well as for the build (frontend). There are programs/libraries that should be build for the frontend only, for the backend only and for the frontend as well as for the backend. I issue

Re: Passing modified options to nested configure

2009-05-07 Thread Ralf Wildenhues
Hi Christian, * Christian Rössel wrote on Thu, May 07, 2009 at 04:14:34PM CEST: Consider following cross-compile scenario where I want to build programs and libraries for the host (backend) as well as for the build (frontend). There are programs/libraries that should be build for the frontend

Re: rebuilding following a change in prefix?

2009-05-07 Thread Jan Engelhardt
On Friday 2009-05-08 06:23, Adam Mercer wrote: I have noticed some strange behaviour with the build system on a project I am working on, consider the following: $ ./configure --prefix=/path/1 $ make $ make install $ ./configure --prefix=/path/2 $ make $ make install I would expect the make

Re: rebuilding following a change in prefix?

2009-05-07 Thread Adam Mercer
On Thu, May 7, 2009 at 23:52, Jan Engelhardt jeng...@medozas.de wrote: Well, automake (unfortunately?) does not currently issue a recompile when the compiler command changed. It would be really cool to have that, though. Thanks, I was worrying I'd done something wrong in my setup. Cheers

Re: rebuilding following a change in prefix?

2009-05-07 Thread Robert Collins
On Fri, 2009-05-08 at 06:52 +0200, Jan Engelhardt wrote: Well, automake (unfortunately?) does not currently issue a recompile when the compiler command changed. It would be really cool to have that, though. Write the compiler command to a file (stamp-compiler). make things depend on that