Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 06:32:49 -0500
From:      Guy Middleton <guy@obstruction.com>
To:        Chris Knight <chris@e-easy.com.au>
Cc:        ports@freebsd.org
Subject:   Re: g++33 creates large binaries on 5.1-RELEASE
Message-ID:  <20031201113249.GA2236@chaos.obstruction.com>
In-Reply-To: <06e201c3b7db$039b3510$030aa8c0@corp.eeasy.com.au>
References:  <20031130151802.GA66328@chaos.obstruction.com> <06e201c3b7db$039b3510$030aa8c0@corp.eeasy.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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.  :-(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031201113249.GA2236>