Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 14:11:22 -0400
From:      Mikhail Teterin <mi+mx@aldan.algebra.com>
To:        arch@FreeBSD.org
Subject:   LDADD+=-lstdc++ vs. LD=${CXX}
Message-ID:  <200207221411.22528.mi%2Bmx@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Hello!

Which of the two constructs in the subject is better -- more portable,
more reliable, more correct (for some definitions of the adjectives
listed)?

AFAIK, when linking an executable, it is LD=${CXX} (hence the recent
PROG_CXX introduction). But what about linking together a shared C++
library which is supposed to be used in C executables (the relationship
between graphics/libfpx and graphics/ImageMagick)?

Is it time for LIB_CXX define?

Thanks!

	-mi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207221411.22528.mi%2Bmx>