当前位置:网站首页>./ 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 .
边栏推荐
- The download button and debug button in keil are grayed out
- Monthly observation of internet medical field in May 2022
- Unity's ASE achieves full screen sand blowing effect
- 连接ftp服务器教程
- [机缘参悟-40]:方向、规则、选择、努力、公平、认知、能力、行动,读3GPP 6G白皮书的五层感悟
- Nacos conformance protocol cp/ap/jraft/distro protocol
- [quick start of Digital IC Verification] 26. Ahb-sramc of SystemVerilog project practice (6) (basic points of APB protocol)
- What are the safest securities trading apps
- webgl_ Enter the three-dimensional world (2)
- Points for attention in porting gd32 F4 series programs to gd32 F3 series
猜你喜欢

2. 堆排序『较难理解的排序』

使用cpolar建立一个商业网站(2)

如何在opensea批量发布NFT(Rinkeby测试网)

HPDC smart base Talent Development Summit essay

【搞船日记】【Shapr3D的STL格式转Gcode】

TypeScript 发布 4.8 beta 版本

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

Unity之ASE实现全屏风沙效果

What is data leakage
![[quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)](/img/d3/cab8a1cba3c8d8107ce4a95f328d36.png)
[quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)
随机推荐
Oracle控制文件丢失恢复归档模式方法
使用cpolar建立一个商业网站(2)
Qu'est - ce qu'une violation de données
居然从408改考自命题!211华北电力大学(北京)
How to build your own super signature system (yunxiaoduo)?
Do not use memset to clear floating-point numbers
The download button and debug button in keil are grayed out
微信小程序 01
2022年5月互联网医疗领域月度观察
一个需求温习到的所有知识,h5的表单被键盘遮挡,事件代理,事件委托
众昂矿业:萤石继续引领新能源市场增长
【數字IC驗證快速入門】20、SystemVerilog學習之基本語法7(覆蓋率驅動...內含實踐練習)
Android -- jetpack: the difference between livedata setValue and postvalue
Basic knowledge sorting of mongodb database
【数字IC验证快速入门】22、SystemVerilog项目实践之AHB-SRAMC(2)(AMBA总线介绍)
[quick start of Digital IC Verification] 25. AHB sramc of SystemVerilog project practice (5) (AHB key review, key points refining)
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
[quickstart to Digital IC Validation] 20. Basic syntax for system verilog Learning 7 (Coverage Driven... Including practical exercises)
摘抄的只言片语
Points for attention in porting gd32 F4 series programs to gd32 F3 series