Shell script i use to compile BOINC applications

Shell script i use to compile BOINC applications

[code]
## slave_.cpp – boinc application
## /home/aurimas/boinc – in my case is a path where boinc is located
g++
-I/home/aurimas/boinc/lib
-I/home/aurimas/boinc/api
-include /home/aurimas/boinc/config.h
-c slave_.cpp -o slave_.o

g++ -o slave_ -static slave_.o
-L/home/aurimas/boinc/lib
-lboinc_zip -lboinc_api -lboinc -pthread [/code]

Leave a Reply