Hi John,

With recent updates from the git repository and the latest versions of
dependencies, I've found that the size of the compiled ledger binary and
libraries has dramatically increased.

1. A ledger I built in early April with boost 1.41, gcc 4.4, and mpfr
   4.2.2 took up 53 MB of space.

2. Today, I built ledger-git with boost 1.43, gcc 4.5, and mpfr 3.0 and
   the resulting installation takes up 397 MB of space. 

(Both examples were built on a 64bit Arch Linux box.)

Here are some comparisons (from a build directory):

Installation #1 above:

--8<---------------cut here---------------start------------->8---
[12:58]% ls -l                  [/var/abs/local/ledger-git/usr/bin]
total 10286
-rwxr-xr-x 1 arch arch 10520064 Apr  2 12:23 ledger

[12:58]% ls -l                  [/var/abs/local/ledger-git/usr/lib]
total 43562
-rw-r--r-- 1 arch arch 13648536 Apr  2 12:23 libledger_data.a
-rwxr-xr-x 1 arch arch     1094 Apr  2 12:23 libledger_data.la
-rw-r--r-- 1 arch arch  4373302 Apr  2 12:23 libledger_expr.a
-rwxr-xr-x 1 arch arch     1094 Apr  2 12:23 libledger_expr.la
-rw-r--r-- 1 arch arch  4834222 Apr  2 12:23 libledger_math.a
-rwxr-xr-x 1 arch arch     1094 Apr  2 12:23 libledger_math.la
-rw-r--r-- 1 arch arch 13959500 Apr  2 12:23 libledger_python.a
-rwxr-xr-x 1 arch arch     1100 Apr  2 12:23 libledger_python.la
-rw-r--r-- 1 arch arch  6543346 Apr  2 12:23 libledger_report.a
-rwxr-xr-x 1 arch arch     1100 Apr  2 12:23 libledger_report.la
-rw-r--r-- 1 arch arch  1165112 Apr  2 12:23 libledger_util.a
-rwxr-xr-x 1 arch arch     1094 Apr  2 12:23 libledger_util.la
drwxr-xr-x 3 arch arch       80 Jun 23 12:38 python2.6
--8<---------------cut here---------------end--------------->8---

Installation #2 above:

--8<---------------cut here---------------start------------->8---
[12:50]% ls -l                 [/var/abs/local/ledger-git/pkg/usr/bin]
total 101895
-rwxr-xr-x 1 arch arch 104236924 Jun 23 09:52 ledger

[12:53]% ls -l                 [/var/abs/local/ledger-git/pkg/usr/lib]
total 300216
-rw-r--r-- 1 arch arch  55927510 Jun 23 09:52 libledger_data.a
-rwxr-xr-x 1 arch arch      1077 Jun 23 09:52 libledger_data.la
-rw-r--r-- 1 arch arch  43222730 Jun 23 09:52 libledger_expr.a
-rwxr-xr-x 1 arch arch      1077 Jun 23 09:52 libledger_expr.la
-rw-r--r-- 1 arch arch  15859950 Jun 23 09:52 libledger_math.a
-rwxr-xr-x 1 arch arch      1077 Jun 23 09:52 libledger_math.la
-rw-r--r-- 1 arch arch 108628000 Jun 23 09:52 libledger_python.a
-rwxr-xr-x 1 arch arch      1083 Jun 23 09:52 libledger_python.la
-rw-r--r-- 1 arch arch  71506580 Jun 23 09:52 libledger_report.a
-rwxr-xr-x 1 arch arch      1083 Jun 23 09:52 libledger_report.la
-rw-r--r-- 1 arch arch  11936170 Jun 23 09:52 libledger_util.a
-rwxr-xr-x 1 arch arch      1077 Jun 23 09:52 libledger_util.la
drwxr-xr-x 3 arch arch        80 Jun 23 09:52 python2.6
--8<---------------cut here---------------end--------------->8---

In short, some files have seen a tenfold increase in size. Any
suggestions would be greatly appreciated.

Best,
Matt



Reply via email to