当前位置:网站首页>./ Functions of configure, make and make install
./ Functions of configure, make and make install
2022-07-07 15:41:00 【When can Xiaobai advance to success】
1、./configure
Used to detect the target characteristics of your installation platform . For example, it will check whether you have CC or GCC, It's not necessary CC or GCC, It is a shell Script .( You can use autoconf To generate )
This step is generally used to generate Makefile, Prepare for the next compilation step .
- You can use the configure Add parameters to control the installation , For example code :
./configure --prefix=/usrThe above means to install the software in /usr below , The executable will be installed in /usr/bin. - At the same time, you can specify the configuration file of some software --sys-config= Parameter setting .
- Some software can be added --with、--enable、--without、--disable 、--ranlib And other parameters control compilation .
- You can pass the permission ./configure --help See detailed instructions help .
ar The command is used to update , Maintain and manage static library .ranlib The command is used for Update the symbol index table of the library .
When only ar command ( Used to update the ) when , ld An error will still be reported when connecting , Cannot find updated variable or function , You need to use ranlib To update the symbol index table of the library .
2、make
make It's for compiling , It is from Makefile Read instructions in , Then compile .
Start source code compilation , And the provision of some functions , These functions are controlled by his Makefile Settings file provides related functions , such as make install General indication for installation ,make uninstall Uninstall , Without parameters, the source code is compiled by default .
3、make install
For installation , It also comes from Makefile Read instructions in , Install to specified location .
边栏推荐
- Share the technical details of super signature system construction
- 从 1.5 开始搭建一个微服务框架链路追踪 traceId
- 知否|两大风控最重要指标与客群好坏的关系分析
- Cocos uses custom material to display problems
- Write a ten thousand word long article "CAS spin lock" to send Jay's new album to the top of the hot list
- 如何在opensea批量发布NFT(Rinkeby测试网)
- Zhongang Mining: Fluorite continues to lead the growth of new energy market
- Connecting FTP server tutorial
- Write sequence frame animation with shader
- 微信小程序 01
猜你喜欢

15. Using the text editing tool VIM

Monthly observation of internet medical field in May 2022

What is data leakage

银行需要搭建智能客服模块的中台能力,驱动全场景智能客服务升级
![[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)](/img/cf/45775b712f60869186a25d3657ee1b.png)
[quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)

【数字IC验证快速入门】24、SystemVerilog项目实践之AHB-SRAMC(4)(AHB继续深入)

Unity之ASE实现全屏风沙效果

Briefly describe the working principle of kept

【数字IC验证快速入门】18、SystemVerilog学习之基本语法5(并发线程...内含实践练习)

Guangzhou Development Zone enables geographical indication products to help rural revitalization
随机推荐
2. 堆排序『较难理解的排序』
Jacobo code coverage
Webgl texture
Do you know the relationship between the most important indicators of two strong wind control and the quality of the customer base
【兰州大学】考研初试复试资料分享
[target detection] yolov5 Runtong voc2007 data set
Whether runnable can be interrupted
【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
Getting started with webgl (1)
Qu'est - ce qu'une violation de données
【數字IC驗證快速入門】26、SystemVerilog項目實踐之AHB-SRAMC(6)(APB協議基本要點)
Typescript release 4.8 beta
什么是数据泄露
How to release NFT in batches in opensea (rinkeby test network)
PAT 甲级 1103 Integer Factorizatio
【OBS】RTMPSockBuf_ Fill, remote host closed connection.
【服务器数据恢复】戴尔某型号服务器raid故障的数据恢复案例
【OBS】RTMPSockBuf_Fill, remote host closed connection.
webgl_ Graphic transformation (rotation, translation, zoom)
HPDC smart base Talent Development Summit essay