Commit 96f24852 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Compile gtest with the new libstdc++ headers

Previously we were compiling against the system headers, and then
linking against a different libstdc++.  Fixes #252.

Also, move the gtest install section into the "required dependencies"
section since you need it to pass "make check".
parent b041b0d6
......@@ -122,6 +122,19 @@ make -j4
make install
```
### gtest
For running the unittests:
```
cd ~/pyston_deps
wget https://googletest.googlecode.com/files/gtest-1.7.0.zip
unzip gtest-1.7.0.zip
cd gtest-1.7.0
./configure CXXFLAGS="-fno-omit-frame-pointer -isystem $HOME/pyston_deps/gcc-4.8.2-install/include/c++/4.8.2"
make -j4
```
---
At this point you should be able to run `make check` (in the `~/pyston` directory) and pass the tests. See the main README for more information about available targets and options.
......@@ -138,19 +151,6 @@ We have some extension module tests, in which we compile the extension module co
sudo apt-get install python-dev
```
### gtest
For running the unittests:
```
cd ~/pyston_deps
wget https://googletest.googlecode.com/files/gtest-1.7.0.zip
unzip gtest-1.7.0.zip
cd gtest-1.7.0
./configure CXXFLAGS=-fno-omit-frame-pointer
make -j4
```
### gdb
A new version of gdb is highly recommended since debugging a JIT tends to use new features of GDB:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment