···67* In setup.sh: add configureFlagsArray or something
89-* Inform freedesktop people that Xaw requires Xpm.00000000000000000000000000000
···67* In setup.sh: add configureFlagsArray or something
89+* Inform freedesktop people that Xaw requires Xpm.
10+11+* Only add --rpath FOO/lib if FOO/lib is actually used, otherwise we
12+ get lots of unneccesarily retained dependencies.
13+14+* After building gcc, filter out this sillyness in .../lib/libsupc++.la and .../lib/libstdc++.la:
15+16+ /nix/store/fd3dba2a24f0242af8ea7e896380be7e-gcc-3.3.3/lib/libsupc++.la:dependency_libs='
17+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src
18+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm
19+-L/tmp/nix-26124-33/build/gcc
20+-L/nix/store/e173bb830ba5f727ae63e0673d929bc7-gcc-3.3.3/bin
21+-L/nix/store/23ef1e01b61105fee5ef8b47faf30675-glibc-2.3.2/lib
22+-L/nix/store/6d3bf84aeb18d6d92a25ce9692b0f4d2-gcc-3.3.3/lib -lgcc_s
23+-lc -lgcc_s'
24+25+ /nix/store/fd3dba2a24f0242af8ea7e896380be7e-gcc-3.3.3/lib/libstdc++.la:dependency_libs='
26+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src
27+-L/tmp/nix-26124-33/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm
28+-lm -lm -L/tmp/nix-26124-33/build/gcc
29+-L/nix/store/e173bb830ba5f727ae63e0673d929bc7-gcc-3.3.3/bin
30+-L/nix/store/23ef1e01b61105fee5ef8b47faf30675-glibc-2.3.2/lib
31+-L/nix/store/6d3bf84aeb18d6d92a25ce9692b0f4d2-gcc-3.3.3/lib -lgcc_s
32+-lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'
33+34+ in particular references to /tmp/nix... and to /nix/store/...-
35+36+ i.e., basically all -L... switches
37+38+ this causes lots of unneccesarily retained dependencies