当前位置:网站首页>./ 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=/usr
The 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 .
边栏推荐
- Ctfshow, information collection: web12
- Ctfshow, information collection: web1
- [data mining] visual pattern mining: hog feature + cosine similarity /k-means clustering
- 使用cpolar建立一个商业网站(2)
- 如何在opensea批量发布NFT(Rinkeby测试网)
- Write a ten thousand word long article "CAS spin lock" to send Jay's new album to the top of the hot list
- Write sequence frame animation with shader
- Typescript release 4.8 beta
- 2.Golang基础知识
- [target detection] yolov5 Runtong voc2007 data set
猜你喜欢
Write sequence frame animation with shader
[quick start of Digital IC Verification] 19. Basic grammar of SystemVerilog learning 6 (thread internal communication... Including practical exercises)
【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
[quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)
Ida Pro reverse tool finds the IP and port of the socket server
Ctfshow, information collection: Web3
What is Base64?
The download button and debug button in keil are grayed out
[make a boat diary] [shapr3d STL format to gcode]
HW初级流量监控,到底该怎么做
随机推荐
大表delete删数据导致数据库异常解决
How to understand that binary complement represents negative numbers
webgl_ Graphic transformation (rotation, translation, zoom)
PAT 甲级 1103 Integer Factorizatio
Basic knowledge sorting of mongodb database
OpenGL common functions
【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
Ctfshow, information collection: web4
【原创】一切不谈考核的管理都是扯淡!
如何在opensea批量发布NFT(Rinkeby测试网)
Ctfshow, information collection: web2
How to create Apple Developer personal account P8 certificate
摘抄的只言片语
Ctfshow, information collection: web10
Ctfshow, information collection: web6
Ctfshow, information collection: web1
[quick start of Digital IC Verification] 23. AHB sramc of SystemVerilog project practice (3) (basic points of AHB protocol)
Oracle control file loss recovery archive mode method
leetcode 241. Different Ways to Add Parentheses 为运算表达式设计优先级(中等)
jacoco代码覆盖率