当前位置:网站首页>./ 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 .
边栏推荐
- [quick start for Digital IC Validation] 26. Ahb - sramc (6) for system verilog project practice (Basic Points of APB Protocol)
- [quick start of Digital IC Verification] 24. AHB sramc of SystemVerilog project practice (4) (AHB continues to deepen)
- 【数字IC验证快速入门】25、SystemVerilog项目实践之AHB-SRAMC(5)(AHB 重点回顾,要点提炼)
- The rebound problem of using Scrollview in cocos Creator
- 【跟着江科大学Stm32】STM32F103C8T6_PWM控制直流电机_代码
- [make a boat diary] [shapr3d STL format to gcode]
- 【服务器数据恢复】某品牌StorageWorks服务器raid数据恢复案例
- Oracle控制文件丢失恢复归档模式方法
- [quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)
- [target detection] yolov5 Runtong voc2007 data set
猜你喜欢
Mathematical modeling -- what is mathematical modeling
Webgl texture
[Lanzhou University] information sharing of postgraduate entrance examination and re examination
[quick start of Digital IC Verification] 19. Basic grammar of SystemVerilog learning 6 (thread internal communication... Including practical exercises)
[quick start of Digital IC Verification] 20. Basic grammar of SystemVerilog learning 7 (coverage driven... Including practical exercises)
HW primary flow monitoring, what should we do
如何在opensea批量发布NFT(Rinkeby测试网)
【深度学习】图像超分实验:SRCNN/FSRCNN
MySQL bit类型解析
The bank needs to build the middle office capability of the intelligent customer service module to drive the upgrade of the whole scene intelligent customer service
随机推荐
Detailed explanation of Cocos creator 2.4.0 rendering process
连接ftp服务器教程
[original] all management without assessment is nonsense!
众昂矿业:萤石继续引领新能源市场增长
Runnable是否可以中断
什么是pv和uv? pv、uv
[机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟
【數據挖掘】視覺模式挖掘:Hog特征+餘弦相似度/k-means聚類
Getting started with webgl (3)
简述keepalived工作原理
With 8 modules and 40 thinking models, you can break the shackles of thinking and meet the thinking needs of different stages and scenes of your work. Collect it quickly and learn it slowly
什么是数据泄露
Window环境下配置Mongodb数据库
Monthly observation of internet medical field in May 2022
Unity's ASE realizes cartoon flame
【数字IC验证快速入门】29、SystemVerilog项目实践之AHB-SRAMC(9)(AHB-SRAMC SVTB Overview)
Write sequence frame animation with shader
Create lib Library in keil and use lib Library
全日制研究生和非全日制研究生的区别!
HPDC smart base Talent Development Summit essay