Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does the installation of Jekyll need GCC on OSX?

Tags:

macos

jekyll

Jekyll Installation says:

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)

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 

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

like image 340
Jingguo Yao Avatar asked Sep 03 '17 01:09

Jingguo Yao


People also ask

Where is GCC stored on Mac?

The gcc application will be installed by default in /usr/local/bin. Personally, I use Apple's clang/clang++ compilation tools rather than deal with GNU gcc. If you have the most recent Apple Command Line Tools (macOS 10.

How do I know what version of Jekyll I have?

If the OP has installed Jeykll locally (using gem install github-pages for example), then they can see which version of Jeykll they are using by running gem list jeykll from the command line.


1 Answers

Usually you set this:

CC=clang
like image 157
bbaassssiiee Avatar answered Nov 04 '22 09:11

bbaassssiiee