Hi,

| The best way to do this would be, I think, to build static libraries | with profiling in as a separate bit of the build (./configure | --enable-static --disable-shared CFLAGS=-pg ), rename them to libgsl_p.a | and ship them as a separate libgsl0-prof package, rather like | libc6-prof. | | Any chance of this in a future debian package, please? It'd make my life | easier :-)

But it makes my life harder, and it bloats the archive. I really would rather
not do this.  Any way you would agree to doing this would local variants?

I suppose the question is whether it's sufficiently useful to be worth the small archive bloat. I think so, but them I'm a scientist ;-)

A survey of my local IRC channel suggests others who would like a libgsl0-prof package too..

Do we have precedents for this?  Which libraries provide profile builds?

A quick look at packages.debian.org suggests glibc and ghc (the haskell compiler)

An alternative, would be to have a DEB_BUILD_OPTION that did as I suggested (resulting in a single package containing the profiling-enabled .a files, with filenames such that you could install them into /usr/lib without over-writing anything). That would be less convenient than a binary package to install, but easier than users having to futz around inside build systems.

Regards,

Matthew



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to