当前位置:网站首页>./ 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 .
边栏推荐
- Super signature principle (fully automated super signature) [Yun Xiaoduo]
- Oracle控制文件丢失恢复归档模式方法
- Ctfshow, information collection: web12
- 使用cpolar建立一个商业网站(2)
- STM32F103C8T6 PWM驱动舵机(SG90)
- Nacos一致性协议 CP/AP/JRaft/Distro协议
- 【原创】一切不谈考核的管理都是扯淡!
- [Lanzhou University] information sharing of postgraduate entrance examination and re examination
- Super simple and fully automated generation super signature system (cloud Xiaoduo minclouds.com cloud service instance), free application in-house test app distribution and hosting platform, maintenan
- 2. Basic knowledge of golang
猜你喜欢
[follow Jiangke University STM32] stm32f103c8t6_ PWM controlled DC motor_ code
Summer safety is very important! Emergency safety education enters kindergarten
[quick start of Digital IC Verification] 26. Ahb-sramc of SystemVerilog project practice (6) (basic points of APB protocol)
What is data leakage
unnamed prototyped parameters not allowed when body is present
TypeScript 发布 4.8 beta 版本
【数字IC验证快速入门】26、SystemVerilog项目实践之AHB-SRAMC(6)(APB协议基本要点)
[quick start of Digital IC Verification] 29. Ahb-sramc (9) (ahb-sramc svtb overview) of SystemVerilog project practice
Ida Pro reverse tool finds the IP and port of the socket server
Ctfshow, information collection: web8
随机推荐
【数字IC验证快速入门】24、SystemVerilog项目实践之AHB-SRAMC(4)(AHB继续深入)
什么是数据泄露
Actually changed from 408 to self proposition! 211 North China Electric Power University (Beijing)
Ctfshow, information collection: web10
Unity之ASE实现全屏风沙效果
How to understand that binary complement represents negative numbers
Guangzhou Development Zone enables geographical indication products to help rural revitalization
[server data recovery] a case of RAID data recovery of a brand StorageWorks server
微信小程序 01
【跟着江科大学Stm32】STM32F103C8T6_PWM控制直流电机_代码
Starting from 1.5, build a microservice framework link tracking traceid
【兰州大学】考研初试复试资料分享
Ctfshow, information collection: web13
Getting started with webgl (3)
Ctfshow, information collection: web8
What are the safest securities trading apps
2. Heap sort "hard to understand sort"
Runnable是否可以中断
Oracle控制文件丢失恢复归档模式方法
全日制研究生和非全日制研究生的区别!