当前位置:网站首页>更换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++
边栏推荐
- Minecraft 1.16.5 生化8 模组 2.0版本 故事书+更多枪械
- Computer graduation design PHP enterprise staff training management system
- Initialize MySQL database when docker container starts
- 同一个 SqlSession 中执行两条一模一样的SQL语句查询得到的 total 数量不一样
- Derivation of Biot Savart law in College Physics
- 机器学习训练与参数优化的一般过程 (讨论)
- Competition question 2022-6-26
- leetcode-2.回文判断
- 500 lines of code to understand the principle of mecached cache client driver
- Apicloud openframe realizes the transfer and return of parameters to the previous page - basic improvement
猜你喜欢
RDD conversion operator of spark
【机器人库】 awesome-robotics-libraries
PHP campus movie website system for computer graduation design
Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail
Derivation of Biot Savart law in College Physics
Kubernetes stateless application expansion and contraction capacity
2022 PMP project management examination agile knowledge points (8)
2 power view
Numpy array index slice
Minecraft 1.16.5 biochemical 8 module version 2.0 storybook + more guns
随机推荐
Ali test open-ended questions
Global and Chinese markets hitting traffic doors 2022-2028: Research Report on technology, participants, trends, market size and share
D22:indeterminate equation (indefinite equation, translation + problem solution)
Overview of spark RDD
Install redis
leetcode3、實現 strStr()
[flask] official tutorial -part2: Blueprint - view, template, static file
Prepare for the autumn face-to-face test questions
Initialize MySQL database when docker container starts
Bidding promotion process
This time, thoroughly understand the deep copy
Computer graduation design PHP part-time recruitment management system for College Students
更改对象属性的方法
【机器人库】 awesome-robotics-libraries
[solution] every time idea starts, it will build project
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
Method of changing object properties
leetcode-两数之和
Text editing VIM operation, file upload
【clickhouse】ClickHouse Practice in EOI