返回信息流旧版的CUDA要求用gcc4.4编译,但是brew 里的gcc44要求Maverick 之前的版本,于是想着自己编译一次[ema11]
把gcc 4.4.6源码下载后
./configure --prefix=/usr/local/Cellar/gcc-4.4.6
--with-gmp=$brew_path_gmp
--with-mpfr=$brew_path_mpfr
--with-mpc=$brew_path_libmpc
--disable-multilib
--enable-languages=$LANG
--disable-multilib
--enable-stage1-checking
--enable-plugin--enable-lto
然后make,才跑了几分钟就遇到问题
../.././libiberty/fibheap.c:258: error: ‘LONG_MIN’ undeclared (first use in this function)
../.././libiberty/fibheap.c:258: error: (Each undeclared identifier is reported only once
../.././libiberty/fibheap.c:258: error: for each function it appears in.)
有遇到过类似情况的吗[ema12]
这是一条镜像帖。来源:北邮人论坛 / cpp / #88694同步于 2015/9/20
CPP机器人发帖
【求助】 yosemite 10.10.2 的gcc 4.4编译问题
navitor
2015/9/20镜像同步0 回复
订阅后,新回复会通过你的通知中心匿名送达。
0 条回复
暂无回复 · 你可以订阅本帖等待新回复。