Jekyll的安装在OSX上是否需要GCC? [英] Does the installation of Jekyll need GCC on OSX?

查看:93
本文介绍了Jekyll的安装在OSX上是否需要GCC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Jekyll安装说:

GCC和Make(如果您的系统未安装它们,可以通过在系统的命令行界面中运行gcc -v和make -v进行检查)

GCC and Make (in case your system doesn’t have them installed, which you can check by running gcc -v and make -v in your system’s command line interface)

我正在使用macOS Sierra.而且我已经为Xcode安装了命令行工具(CLT).然后gcc -v产生:

I am using macOS Sierra. And I have installed Command Line Tools (CLT) for Xcode. And gcc -v produces:

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin 

这意味着我已经安装了clang.我还需要安装GCC吗?

It means that I have clang installed. Do I still need to install GCC?

推荐答案

通常,您需要设置以下内容:

Usually you set this:

CC=clang

这篇关于Jekyll的安装在OSX上是否需要GCC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆