Subject: Re: USE_LIBSTDCXX
To: Nick Hudson <skrll@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-toolchain
Date: 08/16/2004 09:58:48
--Apple-Mail-5-551695687
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Aug 16, 2004, at 9:11 AM, Nick Hudson wrote:
> The c++ driver is already used (with -Wl,-nostdlib) to link when
> PROG_CXX is
> defined and it will always add -lstdc++ unless one of -nodefaultlibs or
> -nostdlibs is specified.
But for C programs, don't we now use -B... instead of -nostdlib? (I
guess we still want to pass that to ld, hence the -Wl,-nostdlib)... but
if we're already using the c++ driver, why are we still providing
-lstdc++ or -lsupc++ on the command line?
>
> My diffs remove the automatic addition of -lstdc++ when -lsupc++ is
> passed.
>
> Nick
>
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--Apple-Mail-5-551695687
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFBIOfMOpVKkaBm8XkRAhuzAJ918NbMXEC+PBP3xcjwMzRDabXMyACZAV86
HN7pu2QLgaAXaZYC5VuX+bQ=
=J+a4
-----END PGP SIGNATURE-----
--Apple-Mail-5-551695687--