Re: How to install library in a specify directory?

2011-01-04 Thread Ralf Corsepius
On 01/05/2011 08:08 AM, Lyre wrote: For example, I'm writing a lib named mylib. The library contain a .pc file: instdir = ${libdir}/pkgconfig inst_DATA = mylib.pc And I want that *.so goes in /usr/lib/mylib/ and *.pc goes in /usr/lib/pkgconfig/ ./configure --libdir=/usr/lib/mylib will install *

How to install library in a specify directory?

2011-01-04 Thread Lyre
For example, I'm writing a lib named mylib. The library contain a .pc file: instdir = ${libdir}/pkgconfig inst_DATA = mylib.pc And I want that *.so goes in /usr/lib/mylib/ and *.pc goes in /usr/lib/pkgconfig/ ./configure --libdir=/usr/lib/mylib will install *.so into correct direcotry, however *.

Re: Dependency problem (with win32 resource file and generated header)

2011-01-04 Thread Ralf Wildenhues
Hello Jef, * Jef Driesen wrote on Tue, Jan 04, 2011 at 09:54:15PM CET: > In a project of mine, I generate a header file which contains the > GIT commit sha1. It's generated using these rules: > This works very well, but I also have a windows resource file to > include a version resource in the dl

Dependency problem (with win32 resource file and generated header)

2011-01-04 Thread Jef Driesen
Hi, In a project of mine, I generate a header file which contains the GIT commit sha1. It's generated using these rules: FORCE: $(top_srcdir)/revision: FORCE @if (test -d $(top_srcdir)/.git && cd $(top_srcdir) \ && git rev-parse --verify HEAD) > revision-t 2>/dev/null \

Re: Automake and AR

2011-01-04 Thread NightStrike
On Tue, Jan 4, 2011 at 2:50 PM, Ralf Wildenhues wrote: > * NightStrike wrote on Tue, Jan 04, 2011 at 07:18:29PM CET: >> On Tue, Jan 4, 2011 at 1:10 PM, Peter Rosin wrote: >> > Den 2011-01-04 16:23 skrev NightStrike: >> >> On Wed, Mar 3, 2010 at 3:51 PM, Ralf Wildenhues >> >> wrote: >> >

Re: Any way to get rid of -MP parameter to gcc for dependency creation?

2011-01-04 Thread Xan Lopez
On Tue, Jan 4, 2011 at 9:00 PM, Ralf Wildenhues wrote: > Thanks for the data.  This is a bug in GNU make.  I'm working on a fix. Hum, which part is the bug exactly? Xan > > Cheers, > Ralf >

Re: comments in make variable definition

2011-01-04 Thread Ralf Wildenhues
* Stefano Lattarini wrote on Wed, Dec 22, 2010 at 06:17:47PM CET: > [stemming from discussion about automake bug#7657: > ] > > On Tuesday 21 December 2010, Ralf Wildenhues wrote: > > * Stefano Lattarini wrote on Tue, Dec 21, 2010 at 01:55:39PM CE

Re: Any way to get rid of -MP parameter to gcc for dependency creation?

2011-01-04 Thread Ralf Wildenhues
* Xan Lopez wrote on Tue, Jan 04, 2011 at 02:21:01PM CET: > The system is Fedora 13 > with ext4, kernel 2.6.34, CPU i7 2.67Ghz and the HDD is a standard > laptop 7200rpm thingie. > > Without the local hack to get rid of the -MP flag a null-build with > that version of GNU make is ~40s. CVS HEAD gi

Re: Automake and AR

2011-01-04 Thread Ralf Wildenhues
* NightStrike wrote on Tue, Jan 04, 2011 at 07:18:29PM CET: > On Tue, Jan 4, 2011 at 1:10 PM, Peter Rosin wrote: > > Den 2011-01-04 16:23 skrev NightStrike: > >> On Wed, Mar 3, 2010 at 3:51 PM, Ralf Wildenhues > >> wrote: > >>> * NightStrike wrote on Wed, Mar 03, 2010 at 06:59:53PM C

Re: Automake and AR

2011-01-04 Thread Ralf Corsepius
On 01/04/2011 07:10 PM, Peter Rosin wrote: Just a silly question since nothing else is happening, do you even have $host-ar somewhere on your path? Unless a binutils package maintainer applies dirty tricks, all binutils cross-toolchains have one. Ralf

Re: Automake and AR

2011-01-04 Thread NightStrike
On Tue, Jan 4, 2011 at 1:10 PM, Peter Rosin wrote: > Den 2011-01-04 16:23 skrev NightStrike: >> On Thu, Dec 9, 2010 at 10:11 AM, NightStrike wrote: >>> On Sat, Nov 27, 2010 at 10:25 AM, NightStrike wrote: On Sun, Oct 31, 2010 at 9:37 AM, NightStrike wrote: > On Fri, Oct 22, 2010 at 1:0

Re: Automake and AR

2011-01-04 Thread Peter Rosin
Den 2011-01-04 16:23 skrev NightStrike: > On Thu, Dec 9, 2010 at 10:11 AM, NightStrike wrote: >> On Sat, Nov 27, 2010 at 10:25 AM, NightStrike wrote: >>> On Sun, Oct 31, 2010 at 9:37 AM, NightStrike wrote: On Fri, Oct 22, 2010 at 1:07 PM, NightStrike wrote: > On Wed, Mar 3, 2010 at 3:5

bug#7773: (lack of) config.h description in manual

2011-01-04 Thread Jack Kelly
I disagree that `make prefix=... install' is a poor man's DESTDIR. Installing using DESTDIR will install things in $(DESTDIR)/$(prefix)/bin (and so on), which is a right pain when it comes to using something like GNU Stow to manage /usr/local. -- Jack On Tue, Jan 4, 2011 at 6:13 PM, Ralf Wildenhu

Re: Automake and AR

2011-01-04 Thread NightStrike
On Thu, Dec 9, 2010 at 10:11 AM, NightStrike wrote: > On Sat, Nov 27, 2010 at 10:25 AM, NightStrike wrote: >> On Sun, Oct 31, 2010 at 9:37 AM, NightStrike wrote: >>> On Fri, Oct 22, 2010 at 1:07 PM, NightStrike wrote: On Wed, Mar 3, 2010 at 3:51 PM, Ralf Wildenhues wrote: > * Ni

Re: Any way to get rid of -MP parameter to gcc for dependency creation?

2011-01-04 Thread Xan Lopez
On Tue, Jan 4, 2011 at 2:21 PM, Xan Lopez wrote: > > Without the local hack to get rid of the -MP flag a null-build with > that version of GNU make is ~40s. CVS HEAD gives ~26s (wow!), and CVS > HEAD with the "get rid of -MP" hack gives ~14s. So definitely there's > been a big improvement in Make

Re: Any way to get rid of -MP parameter to gcc for dependency creation?

2011-01-04 Thread Xan Lopez
On Tue, Jan 4, 2011 at 7:56 AM, Ralf Wildenhues wrote: > Before changing Automake or GNU make, can you first please post which > GNU make version you are using on what system and file system exactly, > and if you are not using the very latest GNU make, retry with that? I'm using a CVS snapshot fr