我正在尝试使用ubuntu 14.04开始使用名为dislin的C ++库。开发人员提供的测试很简单:
cpplink -c exa_cpp
它编译正确。我还构建了另一个使用cpplink命令编译的脚本。但是当我键入:
man cpplink
我明白了:
No manual entry for cpplink
我无法使用我刚开始理解的g ++编译器编译这个库。所以我想有关cpplink的一些信息会有所帮助。我试过谷歌和普通的搜索路线,但似乎这个名字对于搜索引擎来说太常见了。
cpplink是一个位于$ DISLIN / bin的bash脚本。该脚本将必要的库链接到g ++预编译器,以便运行和编译程序。有关更多信息,您应该只输入
cpplink
哪个输出到:
/******************************************************************/
/** C P P L I N K **/
/** **/
/** CPPLINK links C++ programs using DISLIN routines. **/
/** **/
/** Command: cpplink [option] main **/
/** **/
/** option is an optional parameter that can have one of **/
/** the following values: **/
/** -c for compiling programs before linking **/
/** -r for running programs after linking **/
/** -a for compiling, linking and running programs. **/
/** **/
/** main is the name of the main program or may be in the **/
/** form 'main obj lib' where obj is a field of **/
/** object files and lib a field of library files. **/
/** Several files must be separated by blanks. **/
/** A file 'main' will be created after linking. **/
/** **/
/** Example: cpplink -a test mylib.a **/
/******************************************************************/