-
-
Save jasononeil/74f814dbe0d9fa69b18d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-main Main | |
-cpp bin | |
-D HXCPP_M64 | |
# That last line is needed because I'm compiling Linux 64 bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jason@jason-tk:~/workspace/tests/cppsqlite$ mkdir bin | |
jason@jason-tk:~/workspace/tests/cppsqlite$ mkdir db | |
jason@jason-tk:~/workspace/tests/cppsqlite$ haxe build.hxml | |
haxelib run hxcpp Build.xml haxe -DHXCPP_M64="1" -Dhaxe3="1" -Dhaxe_ver="3.103" -Dhxcpp_api_level="311" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/local/lib/haxe/std/" | |
g++ -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -frtti -o obj/linux64//__pch/haxe/hxcpp.h.gch /usr/lib/haxe/lib/hxcpp/3,1,39/include/hxcpp.h | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/TableCreate.cpp -oobj/linux64/adf2bc78_TableCreate.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/_Sqlite/SqliteConnection.cpp -oobj/linux64/d6f68afd_SqliteConnection.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/Sqlite.cpp -oobj/linux64/adf2bc78_Sqlite.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/_Sqlite/SqliteResultSet.cpp -oobj/linux64/d6f68afd_SqliteResultSet.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/ResultSet.cpp -oobj/linux64/adf2bc78_ResultSet.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/RecordType.cpp -oobj/linux64/adf2bc78_RecordType.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/Connection.cpp -oobj/linux64/adf2bc78_Connection.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/io/Bytes.cpp -oobj/linux64/d087ac51_Bytes.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/ds/ObjectMap.cpp -oobj/linux64/c9f886c7_ObjectMap.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/ds/IntMap.cpp -oobj/linux64/c9f886c7_IntMap.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/Serializer.cpp -oobj/linux64/6ddce8a4_Serializer.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/Log.cpp -oobj/linux64/6ddce8a4_Log.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/cpp/Lib.cpp -oobj/linux64/90372df0_Lib.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/ValueType.cpp -oobj/linux64/ae7b103b_ValueType.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/StringTools.cpp -oobj/linux64/ae7b103b_StringTools.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/StringBuf.cpp -oobj/linux64/ae7b103b_StringBuf.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Std.cpp -oobj/linux64/ae7b103b_Std.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Reflect.cpp -oobj/linux64/ae7b103b_Reflect.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Players.cpp -oobj/linux64/ae7b103b_Players.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/Unserializer.cpp -oobj/linux64/6ddce8a4_Unserializer.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Type.cpp -oobj/linux64/ae7b103b_Type.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/rtti/Meta.cpp -oobj/linux64/30b348f3_Meta.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/Manager.cpp -oobj/linux64/adf2bc78_Manager.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/haxe/ds/StringMap.cpp -oobj/linux64/c9f886c7_StringMap.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/IMap.cpp -oobj/linux64/ae7b103b_IMap.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/sys/db/Object.cpp -oobj/linux64/adf2bc78_Object.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Main.cpp -oobj/linux64/ae7b103b_Main.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/List.cpp -oobj/linux64/ae7b103b_List.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Lambda.cpp -oobj/linux64/ae7b103b_Lambda.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/Date.cpp -oobj/linux64/ae7b103b_Date.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/__boot__.cpp -oobj/linux64/ae7b103b___boot__.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/__files__.cpp -oobj/linux64/ae7b103b___files__.o | |
g++ -Iobj/linux64//__pch/haxe -Iinclude -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/__resources__.cpp -oobj/linux64/ae7b103b___resources__.o | |
g++ -Iinclude -DHX_DECLARE_MAIN -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti ./src/__main__.cpp -oobj/linux64/ae7b103b___main__.o | |
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -frtti -o obj/linux64//__pch/runtime/hxcpp.h.gch /usr/lib/haxe/lib/hxcpp/3,1,39/include/hxcpp.h | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Boot.cpp -oobj/linux64/55e62088_Boot.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Anon.cpp -oobj/linux64/55e62088_Anon.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/CFFI.cpp -oobj/linux64/55e62088_CFFI.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Date.cpp -oobj/linux64/55e62088_Date.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/GC.cpp -oobj/linux64/55e62088_GC.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/GCInternal.cpp -oobj/linux64/55e62088_GCInternal.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Hash.cpp -oobj/linux64/55e62088_Hash.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Interface.cpp -oobj/linux64/55e62088_Interface.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Lib.cpp -oobj/linux64/55e62088_Lib.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Object.cpp -oobj/linux64/55e62088_Object.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/StdLibs.cpp -oobj/linux64/55e62088_StdLibs.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Debug.cpp -oobj/linux64/55e62088_Debug.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/hx/Thread.cpp -oobj/linux64/55e62088_Thread.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/Array.cpp -oobj/linux64/ae7b103b_Array.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/Class.cpp -oobj/linux64/ae7b103b_Class.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/Dynamic.cpp -oobj/linux64/ae7b103b_Dynamic.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/Enum.cpp -oobj/linux64/ae7b103b_Enum.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/Math.cpp -oobj/linux64/ae7b103b_Math.o | |
g++ -Iobj/linux64//__pch/runtime -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -m64 -DHXCPP_M64 -I/usr/lib/haxe/lib/hxcpp/3,1,39/include -x c++ -frtti /usr/lib/haxe/lib/hxcpp/3,1,39/src/String.cpp -oobj/linux64/ae7b103b_String.o | |
g++ -o Main -rdynamic -m64 @obj/linux64//all_objs -lpthread -ldl -ldl | |
strip -d Main | |
jason@jason-tk:~/workspace/tests/cppsqlite$ bin/Main | |
Main.hx:16: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys.db.Connection; | |
import sys.db.Types; | |
class Main { | |
static var cnx:Connection; | |
public static function main() { | |
cnx = sys.db.Sqlite.open("db/main.db"); | |
sys.db.Manager.cnx = cnx; | |
sys.db.Manager.initialize(); | |
sys.db.TableCreate.create(Players.manager); | |
var u = Players.manager.get(1); | |
trace(u); | |
sys.db.Manager.cleanup(); | |
cnx.close(); | |
} | |
} | |
class Players extends sys.db.Object{ | |
public static var manager = new sys.db.Manager<Players>(Players); | |
public var id : SId; | |
public var username : SString<32>; | |
public var x : SInt; | |
public var y : SInt; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment