[CppAD] release build for CppAD?

Brad Bell bradbell at seanet.com
Thu Dec 15 08:55:44 EST 2005


As of version 05-12-15, the library CppADlib.a has been removed; i.e.,
CppAD is purely an include file library.

One no longer needs to worry about building both debug and optimized 
versions of CppADlib.a.
In addition, it is no longer necessary to specify -lCppAD when linking 
programs that use CppAD.
For more information see the heading 12-15 in
http://www.coin-or.org/CppAD/Doc/whatsnew05.xml


Brad Bell wrote:

> Sachiko Honda wrote:
>
>> Is there a way to build the CppAD library with full code optimization?
>>
>> Sachiko
>>
>>
> Currently, there are only three routines in libCppAD.a; namely
> http://www.coin-or.org/CppAD/Doc/speedtest.xml
> http://www.coin-or.org/CppAD/Doc/nearequal.xml
> http://www.coin-or.org/CppAD/Doc/erf.xml
> A configure command line option to compiles this library for best speed
> could be added (if the users desire it).
>
> The real speed optimization with CppAD can be realized by following the
> directions under the heading Speed in the file
> http://www.coin-or.org/CppAD/Doc/faq.xml
>
> You should compile your code with optimization, without debugging,
> and with the preprocessor symbol NDEBUG defined.
> (The Speed tests do this.)
> Note that defining NDEBUG
> will turn off all of the error checking and reporting that
> is done using the default definitions in CppADError
> .




More information about the CppAD mailing list