This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
app-notes:cumulocity-agent-in-lxc-container [2017/02/08 11:09] – shasha | app-notes:cumulocity-agent-in-lxc-container [2017/02/10 10:21] – [Build the agent] shasha | ||
---|---|---|---|
Line 28: | Line 28: | ||
cd m2m-cumulocity-sdk-c-d627781f3afa | cd m2m-cumulocity-sdk-c-d627781f3afa | ||
</ | </ | ||
- | Create an init.mk file, and define specific macros CPPFLAGS, CXXFLAGS and LDFLAGS, LDLIBS and CXX for cross-compiling. | + | Create an init.mk file, and define specific macros CPPFLAGS, CXXFLAGS and LDFLAGS, LDLIBS and CXX for compiling. |
<code bash> | <code bash> | ||
CXX: | CXX: | ||
Line 67: | Line 67: | ||
<code bash> | <code bash> | ||
make | make | ||
+ | chmod 775 -R main | ||
</ | </ | ||
<code bash> | <code bash> | ||
./main | ./main | ||
</ | </ |