g++ -std=c++11 serialasync.cpp -lpthread -lboost_system -o serialasync
