Subject: Re: [Boost-build] Call of interest
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-05-28 11:18:15
On Thursday 28 May 2009 18:33:44 Konstantin Litvinenko wrote:
> Steven Watanabe Ð¿Ð¸ÑÐµÑ:
> >>> Do you expect rename to happen during installation?
> >> Yes. I think some use cases will require to have custom naming
> >> schema's or something else, but I hope that such cases will be 0.001%
> >> of all. Distributing libraries as prebuilt or in sources using that
> >> naming schema will not have any problem with outside word integration,
> >> IMO. Correct me if I am wrong. I am really interesting in
> >> comprehensive look on this problem.
> > Correct me if I'm wrong, but I think that you'll need to
> > be careful with the case of:
> > build a shared library.
> > build an executable depending on the shared library
> > rename both the executable and the shared library
> I was not clear when stating Yes :). The case you described will not
> working at least on Windows. Correct process will be using different
> naming schema when packaging installation. But personally I don't really
> known why should I use different naming schema... May be when build some
> install that run from DVD to overcome some DVD filesystem restrictions...
Because if your library should be used by outside world, that outside world
should use some name to link to the library. And it's seems not likely
the outside world will be missing to compute MD5 hashes of something.
One possible solution is pkg-config, on linux, which allows to get an
actual name of library given "simple" package name, but that's linux-only.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk