Date: Sun, 18 Sep 1994 15:35:57 -0700 From: "Garrett A. Wollman" <wollman> To: ache, adam, alm, ats, bde, csgr, cvs-gnu, davidg, dfr, dyson, gclarkii, gpalmer, guido, hsu, jkh, joerg, julian, jvh, karl, martin, nate, paul, phk, proven, pst, rgrimes, rich, se, sean, sef, smace, sos, swallace, torstenb, wollman Subject: cvs commit: src/gnu/usr.bin/cc/cpp Makefile Message-ID: <199409182235.PAA19492@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
wollman 94/09/18 15:35:56
Modified: gnu/usr.bin/cc Makefile Makefile.inc
gnu/usr.bin/cc/c++ Makefile
gnu/usr.bin/cc/cc Makefile
gnu/usr.bin/cc/cc1 Makefile
gnu/usr.bin/cc/cc1plus Makefile
gnu/usr.bin/cc/cc_int Makefile
gnu/usr.bin/cc/cpp Makefile
Log:
Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.
This should save a measurable amount of space; compare:
-r-xr-xr-x 1 bin bin 155648 Sep 18 18:00 cc1*
-r-xr-xr-x 1 root bin 1048576 Sep 18 17:33 cc1.noshae*
Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:
-r--r--r-- 1 bin bin 1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x 1 bin bin 491520 Sep 18 18:27 /usr/libexec/cc1plus*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199409182235.PAA19492>
