How much space are you trying to save?
All the GCC packages only add up to 220Mb... lets use floppy convertions that advertizements use. "That's 50 songs! or Half a movie!*"
Code:
for CUR in `ls /var/log/packages/gcc*`; do
grep 'UNCOMPRESSED PACKAGE SIZE' $CUR | gawk -F: '{print $2}';
done
Add up the output and you get 220Mb.
Either way, it doesn't look like anything will be missed in the packages. There are some 'so' libs in /usr/lib64. But if they were really important, they would have a seperate solibs package in base slackware... like glibc does. Don't quote me on this.
*Then you look for the astrisk and you never find it.