mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-09 23:08:41 +00:00
Add a bit of documentation about g++ 4.8.
This commit is contained in:
parent
d0f5fafbd9
commit
8904288b33
@ -39,6 +39,14 @@ sudo cp include/v8* /usr/include
|
||||
|
||||
```
|
||||
|
||||
`v8` doesn't support `g++` version 4.8 (yet; see
|
||||
<https://code.google.com/p/v8/issues/detail?id=2149>). If your default `g++`
|
||||
is version 4.8 you may need to install `g++` 4.7 and replace the `make`
|
||||
command above with:
|
||||
```
|
||||
CXX=g++-4.7 LINK=g++-4.7 make native library=shared -j8
|
||||
```
|
||||
|
||||
If you don't want to overwrite the system copy of v8, replace `/usr` in
|
||||
the above commands with `/tmp/v8-install` and then add
|
||||
`--with-v8js=/tmp/v8-install` to the php-v8js `./configure` command below.
|
||||
|
Loading…
Reference in New Issue
Block a user