memgraph/dc
2015-11-01 12:45:27 +01:00
..
example 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
tmp cpp program runs compile command, test only code 2015-10-22 00:17:40 +02:00
dynamic_lib.hpp 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
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