Building 1.12.1 on Solaris 9

Doug Royer
2014-06-24
2014-06-24
  • Doug Royer
    Doug Royer
    2014-06-24

    (1) I had to add #include <ieeefp.h> to include/cppunit/portability/FloatingPoint.h to get it to completly compile.

    (2) I had to add -ldl to the the link line of libcppunit-1.12.so.1
    Its in the Makefile, its not passed down to the linker at link time.

    (3) I also had to add -lm (step 2). Its not in the Makefile.

    (4) I did both by adding the line 'LDFLAGS = -ldl -lm' to the Makefile a line above 'LIBADD_DL = -ldl'

     
    Last edit: Doug Royer 2014-06-24
  • Doug Royer
    Doug Royer
    2014-06-24

    Additional: I am using the SunPRO cc and CC compilers and linker (not gnu)