N
N
nursery2014-12-19 17:43:48
GCC
nursery, 2014-12-19 17:43:48

How to set GCC as default compiler in Yosemite?

Compiling v8 for x64
Using python 2.7.6
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher
Using compiler: g++
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Unable to find a compiler officially supported by v8.
It is recommended to use GCC v4.4 or higher

When installing gems, such an error appears. I so understood that it is necessary to change the compiler. The question is how to do it? Googling has not yielded results, everything is still the same. Please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Borovikov, 2014-12-19
@CrusaderX

Try this: gem install libv8 -v 3.11.8.17 -- --with-system-v8
And help: stackoverflow.com/questions/19577759/installing-li...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question