当前位置:网站首页>更换gcc版本后,编译出现make[1]: cc: Command not found
更换gcc版本后,编译出现make[1]: cc: Command not found
2022-07-06 02:05:00 【EXEC_CHRONICLE_KEY】
更换了低版本的GCC后,编译mbedtls库会报这个错误
如果不想换回默认GCC版本,可以在makefile 中加上以下两句
export CC := gcc
export CXX := g++
如果提示bignum.c:1994: error: ‘for’ loop initial declarations are only allowed in C99 mode
bignum.c:1994: note: use option -std=c99 or -std=gnu99 to compile your code
可以改成
export CC := gcc -std=c99 -std=gnu99
export CXX := g++
边栏推荐
- Global and Chinese market of commercial cheese crushers 2022-2028: Research Report on technology, participants, trends, market size and share
- leetcode-两数之和
- 数据工程系列精讲(第四讲): Data-centric AI 之样本工程
- 729. My schedule I / offer II 106 Bipartite graph
- Pangolin Library: subgraph
- Exness: Mercedes Benz's profits exceed expectations, and it is predicted that there will be a supply chain shortage in 2022
- vs code保存时 出现两次格式化
- MySQL lethal serial question 1 -- are you familiar with MySQL transactions?
- Visualstudio2019 compilation configuration lastools-v2.0.0 under win10 system
- 机器学习训练与参数优化的一般过程 (讨论)
猜你喜欢

Tensorflow customize the whole training process

Computer graduation design PHP college student human resources job recruitment network

0211 embedded C language learning

Leetcode sum of two numbers

Redis string type
![抓包整理外篇——————状态栏[ 四]](/img/1e/2d44f36339ac796618cd571aca5556.png)
抓包整理外篇——————状态栏[ 四]

A basic lintcode MySQL database problem

500 lines of code to understand the principle of mecached cache client driver

vs code保存时 出现两次格式化

Formatting occurs twice when vs code is saved
随机推荐
Selenium waiting mode
论文笔记: 图神经网络 GAT
Unreal browser plug-in
Computer graduation design PHP animation information website
[coppeliasim] 6-DOF path planning
Spark accumulator
729. My schedule I / offer II 106 Bipartite graph
This time, thoroughly understand the deep copy
竞价推广流程
Global and Chinese markets of general purpose centrifuges 2022-2028: Research Report on technology, participants, trends, market size and share
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
Apicloud openframe realizes the transfer and return of parameters to the previous page - basic improvement
vs code保存时 出现两次格式化
D22:indeterminate equation (indefinite equation, translation + problem solution)
Grabbing and sorting out external articles -- status bar [4]
Global and Chinese markets of screw rotor pumps 2022-2028: Research Report on technology, participants, trends, market size and share
Derivation of Biot Savart law in College Physics
Alibaba canal usage details (pit draining version)_ MySQL and ES data synchronization
Unity learning notes -- 2D one-way platform production method
Prepare for the autumn face-to-face test questions