As has been mentioned, the FreeBSD source tree as shipped isn't configured for minimization without a fair amount of effort. However, there are a number of larger components, typically maintained by third parties, that are build-time removable, and are typically arguments to the build specified in make.conf. Here are the components people like to disable with relative frequency, found by grepping for '^#NO' in /usr/share/examples/etc/make.conf, plus a little trimming for entries that have to do with compile flags on -CURRENT:
#NO_CVS= true # do not build CVS #NO_CXX= true # do not build C++ and friends #NO_BIND= true # do not build BIND #NO_FORTRAN= true # do not build g77 and related libraries #NO_GDB= true # do not build GDB #NO_I4B= true # do not build isdn4bsd package #NO_IPFILTER= true # do not build IP Filter package #NO_KERBEROS= true # do not build and install Kerberos 5 (KTH Heimdal) #NO_LPR= true # do not build lpr and related programs #NO_MAILWRAPPER=true # do not build the mailwrapper(8) MTA selector #NO_MODULES= true # do not build modules with the kernel #NO_OBJC= true # do not build Objective C support #NO_OPENSSH= true # do not build OpenSSH #NO_OPENSSL= true # do not build OpenSSL (implies NO_KERBEROS and #NO_SENDMAIL= true # do not build sendmail and related programs #NO_SHAREDOCS= true # do not build the 4.4BSD legacy docs #NO_TCSH= true # do not build and install /bin/csh (which is tcsh) #NO_X= true # do not compile in XWindows support (e.g. doscmd) #NOCRYPT= true # do not build any crypto code #NOGAMES= true # do not build games (games/ subdir) #NOINFO= true # do not make or install info files #NOLIBC_R= true # do not build libc_r (re-entrant version of libc) #NOMAN= true # do not build manual pages #NOPROFILE= true # Avoid compiling profiled libraries #NOSHARE= true # do not go into the share subdir On 4.x-STABLE, the set is slightly different as Kerberos5 isn't built by default, UUCP is included in the source tree, etc. I don't think we currently have a NO_GCC flag or NO_BINUTILS to avoid installing the compiler and related tools, but I imagine those would be fairly straight-forward to build. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects [EMAIL PROTECTED] Network Associates Laboratories _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"