腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
如何在
gcc
的搜索目录中添加路径?
gcc
-
linux
-
gnu
/4.6/:/usr/lib/
gcc
/i686-
linux
-
gnu
/4.6/:/usr/lib/
gcc
/i686-
linux
-
gnu
/:/usr/lib/
gcc
/i686-
linux
-
gnu
/4.6
浏览 2
提问于2012-12-19
得票数 0
1
回答
有没有办法从
GCC
那里得到更具描述性的错误信息?
gcc
例如,不打印以下内容:打印:(头文件也是如此)
浏览 1
提问于2016-04-14
得票数 0
1
回答
CMakeLists.txt访问GSL库C
c
、
cmake
/x86_64-
linux
-
gnu
/libgsl.so: undefined reference to `cblas_ctrmv'/
浏览 0
提问于2018-12-03
得票数 0
回答已采纳
1
回答
在ubuntu16.04上编译armadillo c++库时出错
c++
、
compilation
、
armadillo
/x86_64-
linux
-
gnu
/libarmadillo.so: undefined reference to `H5Fopen'/u
浏览 1
提问于2018-03-22
得票数 2
回答已采纳
3
回答
如何让
gcc
打印所有的图书馆链接?
c++
、
c
、
gcc
"
gcc
-o hello hello.c"有这样的事吗?
浏览 2
提问于2014-03-25
得票数 8
回答已采纳
1
回答
如何在clang中选择特定的
gcc
工具链?
c++
、
linux
、
gcc
、
clang
/lib/
gcc
/x86_64-
linux
-
gnu
/4.9Found candidate
GCC
installation: /usr/lib/
gcc<
浏览 12
提问于2017-02-01
得票数 18
1
回答
如何在任何发行版上查找库和头文件的所有可能位置?
linux
、
libraries
、
shared-library
、
distributions
、
header-file
例如,在Fedora上有/usr/lib64/libbfd.a,而在Ubuntu上有/usr/lib/x86_64-
linux
-
gnu
/libbfd.a。或者在Fedora上有/usr/lib/
gcc
/x86_64-redhat-
linux
/10/include/stdatomic.h,而在Ubuntu上有/usr/lib/
gcc
浏览 0
提问于2021-09-13
得票数 0
1
回答
gcc
版本9中libm.a的全路径
gcc
基于此:https://stackoverflow.com/questions/5925678/location-of-c-standard-library 但
浏览 0
提问于2022-07-07
得票数 0
回答已采纳
1
回答
16.04 clang:
gcc
工具链选择不当
16.04
、
compiling
、
c++
、
clang
/lib/
gcc
/x86_64-
linux
-
gnu
/6.0.0Found/lib/
gcc
/x86_64-
linux
-
gnu
/5.4.0 Found ca
浏览 0
提问于2017-03-29
得票数 2
回答已采纳
1
回答
我的自建
gcc
12是如何知道包含
gcc
12 c++头文件的,而不是使用系统路径包含文件?
linux
、
gcc
、
g++
我有一台Ubuntu 20.04.2 LTS机器,默认情况下有
gcc
9.4.0。我从源代码中构建了一个
GCC
-12.1.0,并编写了一个非常简单的cpp程序,并使用/path_to_
gcc
12_bin/g++编译了它。然后运行gdb,按下s,然后显示程序包含较新版本的
gcc
12 c++头文件。 /path_to_
gcc
12_bin/g++ 如何知道如何使用更新版本(它自己的)头文件? 我没有设
浏览 15
提问于2022-06-26
得票数 0
回答已采纳
1
回答
如何将C++对象文件与% ld链接
c++
、
linker
、
linker-errors
、
ld
、
libstdc++
我尝试使用ld而不是g++来链接C++的输出。我这样做只是为了学习如何做到这一点,而不是出于实际目的,所以请不要只建议使用g++。$ ld test.o -o test.outtest.o: In function `main':test.cpp:(.text
浏览 10
提问于2013-01-05
得票数 39
1
回答
使用clang编译代码时出错
clang
、
llvm
、
llc
/lib/
gcc
/x86_64-
linux
-
gnu
/8Found candidate_64-
linux
-
gnu
/5.5.0 Found candidate
GCC
installation:
浏览 3
提问于2019-04-18
得票数 0
回答已采纳
1
回答
降级后
gcc
英伟达司机不起作用,退到默认状态
gcc
不起作用
gcc
8 2020 x86_64-
linux
-
gnu
-
gcc
-9-rwxr-xr-x 1 root root 35464 Aug 8 2020 x86_64-
linux
-
gnu
-
gcc
-ar-9 lrwxrwxrwx 1-<em
浏览 0
提问于2021-03-18
得票数 0
1
回答
使用clang选择特定的libstdc++版本
c++
、
ubuntu
、
gcc
、
clang
、
libstdc++
/lib/
gcc
/i686-
linux
-
gnu
/4.6Found candidate
GCC
installation: /usr/bin/../lib
浏览 14
提问于2016-11-08
得票数 9
2
回答
用于打印
gcc
环境变量的bash命令
environment-variables
、
gcc
有没有一种方法可以从命令行打印所有
GCC
环境变量(包含目录、库的路径),即类似于提供所有bash环境变量的“printenv”?
浏览 0
提问于2016-01-28
得票数 0
回答已采纳
2
回答
Wt编译问题
c++
、
compilation
、
compiler-errors
、
wt
在编译时,我收到一条错误消息/usr/bin/ld: /usr/lib/
gcc
/i686-pc-
linux
-
gnu
/4.7.2/../../../libwt.so: undefined reference to `GetDrawInfo' /usr/lib/
gcc
/i686-pc-
linux
浏览 2
提问于2013-03-25
得票数 0
回答已采纳
2
回答
为什么默认编译器标志没有显示在
gcc
行中?
c
、
gcc
、
compilation
、
default-value
由于有默认的编译器标志(例如,对于Ubuntu,其中之一是-fstack),为什么不以
gcc
行显示它们?当我构建一个源代码包并使用.如果编译器默认使用像-f堆栈保护器这样的编译器标志,那么它应该出现在所有或最多几行
gcc
行中,但它没有出现。,这是否意味着在本例中没有设置默认编译器标志,或者这是否意味着设置了编译器标志,但不会在
gcc
行中打印(可能是为了改进概述)?这个问题不是关于如何获取默认编译标志的信息,而是为了确保是否使用默认
gcc
标志,因为我看不到任何提示,查看终端的打印编译输出。
浏览 6
提问于2016-07-07
得票数 0
回答已采纳
1
回答
交叉编译helloworld.c到ARM (Cortex-A5)
c
、
linux
、
gcc
、
arm
、
embedded-linux
来自
gcc
的输出-打印-搜索-dirsprograms: =/usr/lib/
gcc
/x86_64-
linux
-
gnu
/4.6/:/usr/lib/
gcc
/x86_64-
linux
-<em
浏览 2
提问于2013-12-01
得票数 3
2
回答
升级到
gcc
-4.9坏了clang++
upgrade
、
gcc
、
clang
/lib/
gcc
/x86_64-
linux
-
gnu
/4.9/../../../../lib/
gcc
/i686-
linux
-
gnu
/4.9 Found candidate
GCC
installation: /usr/bin/../lib/
gcc
/x86_64-
linu
浏览 0
提问于2014-09-13
得票数 3
1
回答
用
GCC
编写32位程序时出现的奇怪错误
c
、
linux
、
gcc
、
32bit-64bit
、
gnat-gps
/libexec/
gcc
/x86_64-pc-
linux
-
gnu
/8.3.1/ld: /usr/local/lib/
gcc
/x86_64-pc-
linux
-
gnu
/8.3.1/32/libgcc.a(_/libexec/
gcc
/x86_64-pc-
linux
-
gnu
/
浏览 6
提问于2020-06-16
得票数 2
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Slashdot访谈:是Linux还是GNU / Linux?
GNU Linux-Libre 4.18内核正式发布
Linux 完全自由版本 GNU Linux-libre 5.8 发布
基于 Debian的GNU/Linux的Parrot 3.11 已发布
Linux c编程起步,掌握gcc的基本用法
热门
标签
更多标签
云服务器
即时通信 IM
ICP备案
对象存储
实时音视频
活动推荐
运营活动
广告
关闭
领券