-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
26 lines (22 loc) · 969 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Technique Dependence:
1. run on little endian machine (All machines with Intel CPU are little endian)
2. compiler with part of C++17 support
Install GCC 5 before compiling source code (Ubuntu 14.04 LTS X64):
1. sudo add-apt-repository ppa:ubuntu-toolchain-r/test
2. sudo apt-get update
3. sudo apt-get install gcc-5 g++-5
4. sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
Compile Steps by CMake (https://cmake.org/):
1. create a build folder outside the src folder
(eg: mkdir build_minsizerel)
2. change directory to the build folder
(eg: cd build_minsizerel)
3. cmake 'path_to_source_root' -DCMAKE_BUILD_TYPE=MINSIZEREL
(eg: cmake ../src -DCMAKE_BUILD_TYPE=MINSIZEREL)
4. make
How to run:
You can run tiny_base in two modes.
1. interactive command mode: just start the program
(eg: ./tiny_base)
2. sql script mode: start the program with a path of a sql file
(eg: ./tiny_base test.sql)