[tex-live] New binaries (and problems:)
Thomas Esser
te at dbs.uni-hannover.de
Fri May 23 23:48:35 CEST 2003
> % gcc -Wno-deprecated -static foo.cc -lstdc++
Well, that would be one possibility, yes. Looking with -v what gcc calls
in this case, I have found out, that
$ gcc -Wno-deprecated foo.cc -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lm -lgcc_eh -lgcc -lc -lgcc_eh -lgcc
$ ldd a.out
libm.so.6 => /lib/libm.so.6 (0x40020000)
libc.so.6 => /lib/libc.so.6 (0x40043000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
also works... That way, we'd get dynamically linked binaries which are
a lot smaller (for this a.out: 3088 kb vs. 8704 kb).
We have always tried to make it that way in the past. Is it worth the
trouble?
Thomas
More information about the tex-live
mailing list