g++33 creates large binaries on 5.1-RELEASE

Guy Middleton guy at obstruction.com
Mon Dec 1 03:33:19 PST 2003


On Mon, Dec 01, 2003 at 06:16:18PM +1100, Chris Knight wrote:
> Howdy,
> 
> 5.1-RELEASE comes with gcc 3.2 (from memory).
> g++33 will have been installed from the ports tree, which by default only
> creates static libraries of libstdc++, etc. It's this static linking that is
> generating the large binaries.
> One way around this is to rebuild gcc33 with shared library support, then
> add the directory containing the shared libraries to ldconfig_paths in
> /etc/rc.conf.

Thanks, this fixes the problem.  It never occurred to me that shared libraries
would not be created by default.  :-(


More information about the freebsd-ports mailing list