Now that we've got everything compiled and installed, we need to test to make sure we've got everything working okay.
Starting from the Boost sources base directory, you can find demo code for most of the parts of the library under the libs/ subdirectory. For example ${base}/libs/array contains a number of *.cpp and one *.hpp files. I copied these out to a location in my ${HOME} directory. I then created the following Makefile:
.PHONY: all clean
ALL=array1 array2 array3 array4 array5
all: ${ALL}
clean:
${RM} core* *.o
${RM} ${ALL}
|