Makefile
.Previously, I was editing the makefile to be more "portable". Only, those edits did not link against the static version of
libstd++
, which is the prefered way of linking applications that will be pushed down to the client. Doing so avoids runtime issues with missing or mismatched library versions.But first, you need to build the BOINC client software. Then, as mentioned above, some of the examples like
uppercase
require a link to the static version of libstdc++.a
. The makefiles for those projects contain:# Do this first:So, just do:
# ln -s `g++ -print-file-name=libstdc++.a`
# This creates a symbolic link to the C++ library,
# which is linked statically
ln -s `g++ -print-file-name=libstdc++.a`to get them going.
make
No comments:
Post a Comment