CXX : should be set to the name of the C++ compiler (and linker)
CXXOPTS : are options passed to the compiler during compilation (see note for GCC below)
- EXTRA_LIBS : are any extra libraries required for linking; should not normally be needed.
+ LDFLAGS : are any extra flags required for linking; should not normally be needed
+ (FreeBSD requires -lrt).
-Defaults for Linux and OpenBSD are provided. Note that the "eg++" or "clang++" package must
-be installed on OpenBSD as the default "g++" compiler is too old. Clang is part of the base
+Suitable defaults for a number of systems are provided. Note that the "eg++" or "clang++" package
+must be installed on OpenBSD as the default "g++" compiler is too old. Clang is part of the base
system in recent releases.
Then, change into the "src" directory, and run "make" (or "gmake" if the system make is not
Special note for GCC/Libstdc++
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+(Note: the issue discussed here has apparently been resolved in recent GCC versions).
+
GCC 5.x onwards includes a "dual ABI" in its standard library implementation, aka Libstdc++.
Compiling against the newer (C++11 and later) ABI can be achieved by adding
-D_GLIBCXX_USE_CXX11_ABI=1 to the compiler command line; this uses a non-standard language