lt_dlforeachfile

2007-05-03 Thread Reuben Thomas
I'm a bit unclear on what I can expect about the filenames passed to the callback. I'm using libtool 1.5.22 and whatever libltdtl that comes with, and have found that it seems to pass basenames, suitable for use with lt_dlopenext, but the documentation is unclear on whether I can rely on this b

Re: Question regarding interdependent convenience libraries

2007-05-03 Thread Scott D. Fleming
>> Is libtool or the underlying linker smart enough to recognize and >> ignore the duplicate libraries? > > I think that the content of convenience libraries is extracted into > individual .o files prior to being used for linkage. This is true if the linker doesn't have a functionality similar to

Re: C flags and headers in a C library

2007-05-03 Thread Noah Misch
On Thu, May 03, 2007 at 01:02:49PM +0100, Joseph Wakeling wrote: > Noah Misch wrote: > > AM_CFLAGS = -ansi -pedantic -Wall > > > > Note that it's usually unwise to add such flags unconditionally; many > > compilers > > do not support them. > > Thanks very much. I hadn't thought about the com

Re: C flags and headers in a C library

2007-05-03 Thread Joseph Wakeling
Noah Misch wrote: > Add a line like this to Makefile.am: > > AM_CFLAGS = $(MINGA_CFLAGS) > > or simply: > > AM_CFLAGS = -ansi -pedantic -Wall > > Note that it's usually unwise to add such flags unconditionally; many > compilers > do not support them. Thanks very much. I hadn't thought ab