memgraph/dc
2016-02-06 20:48:40 +01:00
..
example ifndef are replaced with the pragma once 2015-12-07 21:51:55 +01:00
tmp cpp program runs compile command, test only code 2015-10-22 00:17:40 +02:00
dynamic_lib.hpp big step forward, we are now able to pass Db into the shared library, next step is to implement CodeCompiler and CodeGenerator 2016-02-06 20:48:40 +01:00
README.md Much better but not perfect version of dynamic compile and dynamic load code. DynamicLib class and rudimentar example. 2015-10-25 16:11:52 +01:00
test.cpp using instead of typedef 2015-11-01 12:45:27 +01:00

Dynamic Code

man nm

cd memgraph/dc
cd example
clang++ -std=c++1y mysql.cpp -o ../tmp/mysql.so -shared -fPIC
clang++ -std=c++1y memsql.cpp -o ../tmp/memsql.so -shared -fPIC
cd ..
clang++ -std=c++1y test.cpp -o test.out -ldl