gpt4 book ai didi

c++ - 什么是cpplink

转载 作者:行者123 更新时间:2023-11-28 06:08:06 26 4
gpt4 key购买 nike

我正在尝试使用 ubuntu 14.04 获取名为 dislin 的 C++ 库。开发者提供的测试很简单:

cpplink -c exa_cpp

并且编译正确。我还构建了另一个使用 cpplink 命令编译的脚本。但是当我输入:

man cpplink

我得到:

No manual entry for cpplink

而且我无法使用我刚刚开始理解的 g++ 编译器来编译这个库。所以我认为有关 cpplink 的一些信息会有所帮助。我尝试了 google 和正常的搜索路径,但似乎这个名称对于搜索引擎来说太常见了。

最佳答案

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 **/
/******************************************************************/

关于c++ - 什么是cpplink,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31957533/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com