开发者

compiling boost based application using cron

I am building some boost bas开发者_StackOverflowed application for various embedded targets. I have developed a script which can build my application with different toolchain for several targets. This script works fine when I run it from command line but if it is invoked from cron it always fails to link the object files. My application has dependency on openssl. Can anyone please give some idea? What would be the root cause of this kind of behavior? Thanks in advance.


cron jobs will run with a much reduced environment. So you need to determine which environment variables (PATH, LD_LIBRARY_PATH etc.) your compile depends on, and then reflect those variables in the shell script you're invoking from cron.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜