当前位置:网站首页>查看GCC版本_qt版本
查看GCC版本_qt版本
2022-08-03 12:18:00 【全栈程序员站长】
大家好,又见面了,我是你们的朋友全栈君。
查看交叉编译器的GCC版本:
[email protected]:~/u-boot$ arm-poky-linux-gnueabi-gcc -v
查看本地编译器的GCC版本:
[email protected]:~/u-boot$ gcc -v
[email protected]:~/u-boot$ which arm-poky-linux-gnueabi-gcc
/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
[email protected]:~/u-boot$ arm-poky-linux-gnueabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-poky-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.3.0/lto-wrapper
Target: arm-poky-linux-gnueabi
Configured with: ../../../../../../work-shared/gcc-5.3.0-r0/gcc-5.3.0/configure --build=x86_64-linux --host=x86_64-pokysdk-linux --target=arm-poky-linux-gnueabi --prefix=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr --exec_prefix=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr --bindir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi --sbindir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi --libexecdir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi --datadir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/share --sysconfdir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/etc --sharedstatedir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/com --localstatedir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/var --libdir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/lib/arm-poky-linux-gnueabi --includedir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/include --oldincludedir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/include --infodir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/share/info --mandir=/opt/fsl-imx-fb/4.1.15-2.1.0/sysroots/x86_64-pokysdk-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/hedy/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-nativesdk-pokysdk-linux --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-poky-linux-gnueabi- --without-local-prefix --enable-lto --enable-libssp --enable-libitm --disable-bootstrap --disable-libmudflap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --without-isl --with-gxx-include-dir=/not/exist/usr/include/c++/5.3.0 --with-build-time-tools=/home/hedy/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-linux/usr/arm-poky-linux-gnueabi/bin --with-sysroot=/not/exist --with-build-sysroot=/home/hedy/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/imx6qsabreauto --enable-poison-system-directories --with-mpfr=/home/hedy/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-nativesdk-pokysdk-linux --with-mpc=/home/hedy/fsl-arm-yocto-bsp/build-fb/tmp/sysroots/x86_64-nativesdk-pokysdk-linux --enable-nls --with-arch=armv7-a
Thread model: posix
gcc version 5.3.0 (GCC)
[email protected]:~/u-boot$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.4' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4)
gcc 在线文档
https://gcc.gnu.org/onlinedocs/ 对照相应的版本去下手册,不然,有些option在低一点的版本找不到.
-ffunction-sections 、-fdata-sections
LDFLAGS_FINAL += --gc-sections
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \
-fno-common -ffixed-r9
可以参考本文: https://blog.csdn.net/pengfei240/article/details/55228228
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/124908.html原文链接:https://javaforall.cn
边栏推荐
- Random forest project combat - temperature prediction
- 622. 设计循环队列
- PolarFormer: Multi-camera 3D Object Detection with Polar Transformers 论文笔记
- 5个超好用手机开源自动化工具,哪个适合你?
- YOLOv5 training data prompts No labels found, with_suffix is used, WARNING: Ignoring corrupted image and/or label appears during yolov5 training
- flink流批一体有啥条件,数据源是从mysql批量分片读取,为啥设置成批量模式就不行
- 一文带你弄懂 CDN 技术的原理
- 数据库系统原理与应用教程(074)—— MySQL 练习题:操作题 141-150(十八):综合练习
- 苹果发布 AI 生成模型 GAUDI,文字生成 3D 场景
- R语言ggplot2可视化:使用ggpubr包的ggsummarystats函数可视化箱图(通过ggfunc参数设置)、在可视化图像的下方添加描述性统计结果表格
猜你喜欢
图像融合SDDGAN文章学习
PolarFormer: Multi-camera 3D Object Detection with Polar Transformers 论文笔记
Matlab学习10-图像处理之傅里叶变换
为什么越来越多的开发者放弃使用Postman,而选择Eolink?
子结点的数量
YOLOv5 training data prompts No labels found, with_suffix is used, WARNING: Ignoring corrupted image and/or label appears during yolov5 training
OFDM 十六讲 4 -What is a Cyclic Prefix in OFDM
学习软件测试需要掌握哪些知识点呢?
Random forest project combat - temperature prediction
面试突击71:GET 和 POST 有什么区别?
随机推荐
特征工程学习笔记
From the physical level of the device to the circuit level
基于php校园医院门诊管理系统获取(php毕业设计)
从零开始C语言精讲篇5:指针
Feature dimensionality reduction study notes (pca and lda) (1)
LeetCode刷题笔记:105.从前序与中序遍历序列构造二叉树
从器件物理级提升到电路级
详解虚拟机!京东大佬出品HotSpot VM源码剖析笔记(附完整源码)
fastposter v2.9.0 programmer must-have poster generator
图像融合GAN-FM学习笔记
使用.NET简单实现一个Redis的高性能克隆版(一)
Five super handy phone open-source automation tools, which is suitable for you?
基于Sikuli GUI图像识别框架的PC客户端自动化测试实践
肝完Alibaba这份面试通关宝典,我成功拿下今年第15个Offer
别再用if-else了,分享一下我使用“策略模式”的项目经验...
业界新标杆!阿里开源自研高并发编程核心笔记(2022最新版)
LeetCode-48. 旋转图像
【云原生 · Kubernetes】部署Kubernetes集群
bash if条件判断
What knowledge points do you need to master to learn software testing?