当前位置:网站首页>更换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++
边栏推荐
- Ali test Open face test
- [network attack and defense training exercises]
- Dynamics 365 开发协作最佳实践思考
- Use Scrollview and tabhost to realize vertical scrollbars and tabs
- Grabbing and sorting out external articles -- status bar [4]
- Campus second-hand transaction based on wechat applet
- 抓包整理外篇——————状态栏[ 四]
- Computer graduation design PHP enterprise staff training management system
- Compact lidar global and Chinese markets 2022-2028: technology, participants, trends, market size and share Research Report
- 【coppeliasim】6自由度路径规划
猜你喜欢
Using SA token to solve websocket handshake authentication
Formatting occurs twice when vs code is saved
MySQL index
Publish your own toolkit notes using NPM
[width first search] Ji Suan Ke: Suan tou Jun goes home (BFS with conditions)
How to improve the level of pinduoduo store? Dianyingtong came to tell you
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
Tensorflow customize the whole training process
Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail
Computer graduation design PHP animation information website
随机推荐
Pangolin Library: subgraph
leetcode-2.回文判断
Derivation of Biot Savart law in College Physics
Alibaba canal usage details (pit draining version)_ MySQL and ES data synchronization
【社区人物志】专访马龙伟:轮子不好用,那就自己造!
Ali test Open face test
Paper notes: graph neural network gat
Adapter-a technology of adaptive pre training continuous learning
vs code保存时 出现两次格式化
2022 edition illustrated network pdf
Regular expressions: examples (1)
How to use C to copy files on UNIX- How can I copy a file on Unix using C?
Publish your own toolkit notes using NPM
Computer graduation design PHP part-time recruitment management system for College Students
Exness: Mercedes Benz's profits exceed expectations, and it is predicted that there will be a supply chain shortage in 2022
genius-storage使用文档,一个浏览器缓存工具
This time, thoroughly understand the deep copy
Ali test open-ended questions
Know MySQL database
Blue Bridge Cup embedded_ STM32 learning_ Key_ Explain in detail