Date: Mon, 22 Apr 2002 20:08:37 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Peter Wemm <peter@wemm.org>, "David O'Brien" <obrien@FreeBSD.org>, "M. Warner Losh" <imp@village.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: PROG_CXX (was: Re: cvs commit: src/gnu/usr.bin/gperf Makefile src/gnu/usr.bin/groff/src/devices/grodvi Makefile src/gnu/usr.bin/groff/src/devices/grohtml Makefile src/gnu/usr.bin/groff/src/devices/gro Message-ID: <20020422195118.T8253-100000@gamplex.bde.org> In-Reply-To: <20020412082651.GB75003@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 12 Apr 2002, Ruslan Ermilov wrote: > I also thought about this last night. Linking with c++ is _required_ for > static linkage of C++ programs to work; libstdc++.a depends on libm.a, and > c++ is "smart" enough to call linker with -lstdc++ -lm (it should probably > be doing this in the -static case only anyway). Should be fixed in 1.108. > > This brings another question [for BDE]. Should be convert all usages of > -lfoo to ${MINUSLFOO}, similar to the way we do it for ${MINUSLPAM}, to > avoid doing this extra work in each individual makefile when it fails to > compile statically. I wouldn't like to see the ugly MINUSLPAM hack duplicated, and hope it will not be needed. For libm, I think the correct fix is to merge it into libc and change libm to an optional stub. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422195118.T8253-100000>