Mikhail Teterin *nix forums addict
Joined: 23 Mar 2002
Posts: 56
|
Posted: Mon Jul 22, 2002 4:11 pm Post subject:
LDADD+=-lstdc++ vs. LD=${CXX}
|
|
|
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 |
|