[PROJ] Proj9 small library size
Even Rouault
even.rouault at spatialys.com
Tue Aug 16 00:07:21 PDT 2022
Le 15/08/2022 à 10:50, Mike Taves a écrit :
> On Mon, 15 Aug 2022 at 19:42, Patrick Elmer <proj at patrickelmer.de> wrote:
>> I have just compiled Proj 9.0.1 on Linux. I am wondering that
>> "libproj.so.25.9.0.1" has a sice of about 5M, whereas the one from Proj
>> 8.2.1 is nearly 81M big.
@Patrick Probably that your 81M build is one that includes debug symbols.
> I've noticed these differences for a while too. You can see it with
> Debian distributions which show package and installed size:
>
> - https://packages.debian.org/bullseye/libproj-dev - PROJ 7 via Autotools
> - https://packages.debian.org/bookworm/libproj-dev - PROJ 9 via CMake
>
> My observation is that autotools builds tend to take up more disk
> space for C++ projects. (For comparison, see
> https://packages.debian.org/buster/libproj-dev for PROJ 5 via
> Autotools when it was a C-only library).
@Mike That's a different thing. libproj-dev from PROJ 7 includes the
static .a library, whereas the one from PROJ 9 doesn't (since PROJ CMake
builds only build shared or static libraries, but not both at the same time)
>
> Hopefully someone has a better informed answer!
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj
--
http://www.spatialys.com
My software is free, but my time generally not.
More information about the PROJ
mailing list