Macos 无法使用自制软件安装gcc48
我无法用自制软件安装gcc48。安装失败,原因是 (从配置输出中的最后几行开始): 我确实安装了islMacos 无法使用自制软件安装gcc48,macos,gcc,homebrew,Macos,Gcc,Homebrew,我无法用自制软件安装gcc48。安装失败,原因是 (从配置输出中的最后几行开始): 我确实安装了isl : brew info isl isl: stable 0.12, HEAD http://www.kotnet.org/~skimo/isl/ /usr/local/Cellar/isl/0.12 (55 files, 3.2M) * Built from source From: https://github.com/mxcl/homebrew/commits/master/Libra
: brew info isl
isl: stable 0.12, HEAD
http://www.kotnet.org/~skimo/isl/
/usr/local/Cellar/isl/0.12 (55 files, 3.2M) *
Built from source
From: https://github.com/mxcl/homebrew/commits/master/Library/Formula/isl.rb
==> Dependencies
Required: gmp
这并不局限于自制。如果cloog-0.18.0使用isl-0.11.1的捆绑子包,则配置脚本会出现问题。未正确替换
VERSION
字符串,并在isl\u VERSION()
函数调用中设置为“未知”
——gcc配置脚本正在测试的值
您可能需要首先构建(或安装)ISL,然后将--with ISL prefix=$SOME_DIR
添加到cloog配置选项中,这样它就使用外部ISL安装。我最近从源代码处为AVR构建了gcc-4.8.1,并使用:
## isl-0.11.1 @ ftp://gcc.gnu.org/pub/gcc/infrastructure/
> ../configure --prefix=$CROSSDIR --with-gmp-prefix=$CROSSDIR
> make [check]; make install; rehash
and now build cloog-0.18.0 with the installed 'system' ISL:
> ../configure --prefix=$CROSSDIR --with-isl-prefix=$CROSSDIR \
--with-gmp-prefix=$CROSSDIR
> make [check]; make install; rehash
这还需要在gcc配置选项中添加:
--with isl=$CROSSDIR
。gcc对isl版本提出了严格要求。目前,4.8分支和主干(4.9)都需要ISL 0.10或0.11。自制已将ISL临时恢复为0.11.2,因此现在应该可以了。我也有这个问题,我向brew提交了一个问题
## isl-0.11.1 @ ftp://gcc.gnu.org/pub/gcc/infrastructure/
> ../configure --prefix=$CROSSDIR --with-gmp-prefix=$CROSSDIR
> make [check]; make install; rehash
and now build cloog-0.18.0 with the installed 'system' ISL:
> ../configure --prefix=$CROSSDIR --with-isl-prefix=$CROSSDIR \
--with-gmp-prefix=$CROSSDIR
> make [check]; make install; rehash