Revision history [back]

click to hide/show revision 1
initial version

How to see compiler command line when scons script executed

Hello,

I am not familiar with SCons. Could you help me please? How can I see compiler command line when execute "scons" command to build AllJoyn for "openwrt".

I set all of needed environment variables (like TARGET_CFLAGS, TARGET_CPPLAGS..) and execute the command

scons BINDINGS=cpp ICE=off WS=off SERVICES="about,notification,config,controlpanel,onboarding" OS=openwrt CPU=openwrt --warn=all

I see the following output

scons: done reading SConscript files. scons: Building targets ...

scons: warning: No dependency generated for file: string.h (included from: alljoyn_core/src/AllJoynCrypto.cc) -- file not found File "/usr/bin/scons", line 192, in <module>

scons: warning: No dependency generated for file: assert.h (included from: common/inc/qcc/Crypto.h) -- file not found File "/usr/bin/scons", line 192, in <module>

scons: warning: No dependency generated for file: string.h (included from: common/inc/qcc/Crypto.h) -- file not found File "/usr/bin/scons", line 192, in <module>

It look like some pathes for include files are not set.

I would like to see full compiler command line like:

gcc -Iinclude/asdfasdfasdf/asdf/adfasdfasdf/asdf/asdf/asdf/ -Isdfg/sdfg/sdfg/sdfg/sdfg/sdfg/sdfg/sdfg/ -Iqwer/qwer/qwer/qwer/qwer/qwer/qwer/qwer/ -Ierty/erty/erty/erty/erty/er/y -Izxcv/zxcv/zxcv/zxcv/zxcv/zxcv/zxc/vzxc/v -Ihjkl/njkl/hjkl/hjkl/hjkl/hjkl/hjkl/ -Iuytr/uytr/uytr/uytr/uyr/uytr/uyr/urt -o view.o view.c

click to hide/show revision 2
retagged

How to see compiler command line when scons script executed

Hello,

I am not familiar with SCons. Could you help me please? How can I see compiler command line when execute "scons" command to build AllJoyn for "openwrt".

I set all of needed environment variables (like TARGET_CFLAGS, TARGET_CPPLAGS..) and execute the command

scons BINDINGS=cpp ICE=off WS=off SERVICES="about,notification,config,controlpanel,onboarding" OS=openwrt CPU=openwrt --warn=all

I see the following output

scons: done reading SConscript files. scons: Building targets ...

scons: warning: No dependency generated for file: string.h (included from: alljoyn_core/src/AllJoynCrypto.cc) -- file not found File "/usr/bin/scons", line 192, in <module>

scons: warning: No dependency generated for file: assert.h (included from: common/inc/qcc/Crypto.h) -- file not found File "/usr/bin/scons", line 192, in <module>

scons: warning: No dependency generated for file: string.h (included from: common/inc/qcc/Crypto.h) -- file not found File "/usr/bin/scons", line 192, in <module>

It look like some pathes for include files are not set.

I would like to see full compiler command line like:

gcc -Iinclude/asdfasdfasdf/asdf/adfasdfasdf/asdf/asdf/asdf/ -Isdfg/sdfg/sdfg/sdfg/sdfg/sdfg/sdfg/sdfg/ -Iqwer/qwer/qwer/qwer/qwer/qwer/qwer/qwer/ -Ierty/erty/erty/erty/erty/er/y -Izxcv/zxcv/zxcv/zxcv/zxcv/zxcv/zxc/vzxc/v -Ihjkl/njkl/hjkl/hjkl/hjkl/hjkl/hjkl/ -Iuytr/uytr/uytr/uytr/uyr/uytr/uyr/urt -o view.o view.c

click to hide/show revision 3
retagged

How to see compiler command line when scons script executed

Hello,

I am not familiar with SCons. Could you help me please? How can I see compiler command line when execute "scons" command to build AllJoyn for "openwrt".

I set all of needed environment variables (like TARGET_CFLAGS, TARGET_CPPLAGS..) and execute the command

scons BINDINGS=cpp ICE=off WS=off SERVICES="about,notification,config,controlpanel,onboarding" OS=openwrt CPU=openwrt --warn=all

I see the following output

scons: done reading SConscript files. scons: Building targets ...

scons: warning: No dependency generated for file: string.h (included from: alljoyn_core/src/AllJoynCrypto.cc) -- file not found File "/usr/bin/scons", line 192, in <module>

scons: warning: No dependency generated for file: assert.h (included from: common/inc/qcc/Crypto.h) -- file not found File "/usr/bin/scons", line 192, in <module>

scons: warning: No dependency generated for file: string.h (included from: common/inc/qcc/Crypto.h) -- file not found File "/usr/bin/scons", line 192, in <module>

It look like some pathes for include files are not set.

I would like to see full compiler command line like:

gcc -Iinclude/asdfasdfasdf/asdf/adfasdfasdf/asdf/asdf/asdf/ -Isdfg/sdfg/sdfg/sdfg/sdfg/sdfg/sdfg/sdfg/ -Iqwer/qwer/qwer/qwer/qwer/qwer/qwer/qwer/ -Ierty/erty/erty/erty/erty/er/y -Izxcv/zxcv/zxcv/zxcv/zxcv/zxcv/zxc/vzxc/v -Ihjkl/njkl/hjkl/hjkl/hjkl/hjkl/hjkl/ -Iuytr/uytr/uytr/uytr/uyr/uytr/uyr/urt -o view.o view.c