b4aca961be
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* |
||
---|---|---|
.. | ||
c++ | ||
cc | ||
cc1 | ||
cc1plus | ||
cc_int | ||
cccp | ||
cpp | ||
include | ||
legal | ||
libgcc | ||
Makefile | ||
Makefile.inc | ||
README |
$FreeBSD$ This directory contains gcc in a form that uses "bmake" makefiles. This is not the place you want to start, if you want to hack gcc. we have included everything here which is part of the source-code of gcc, but still, don't use this as a hacking-base. If you suspect a problem with gcc, or just want to hack it in general, get a complete gcc-X.Y.Z.tar.gz from somewhere, and use that. Please look in the directory src/gnu/gnu2bmake to find the tools to generate these files. Thankyou.