Boost logo

Boost-Build :

From: Craig Rodrigues (rodrigc_at_[hidden])
Date: 2005-07-28 12:33:30


Hi,

I noticed something weird recently when using latest CVS
version of BBv2 on Linux. I don't know if this happened before.

In the attached Jamroot1, I get the following -I options passed
to gcc:

"g++" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -fPIC -pthread -DAPPCONFIG_FILE=\"ameDLLPrecomp.h\"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/AvidEnv"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/CoreServices/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/CoreThreads/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/MacPlayers/Devices"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/EasyAME/EasyPlayer"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/EasyAME/public_include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/amedll"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/compman"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/sourceman"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/core/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/devices/digitalio/public"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/external/boost"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/external/loki"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/AvidTalk/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/MediaComposer/Media_Composer"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/ImportExport"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/audio_support"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/comp_misc"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/directoryutils"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/edm"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/effects"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/player"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/twk_sharedbuilds/linux/AAF_Toolkit/AAFi686LinuxSDK/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/xplat/AVX/avx2/avx2sdk/inc"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/xplat/AVX/avx2/avx2sdk/utils"

If I change Jamroot1 to have <include>/home/crodrigu/loki, like in the
attached Jamroot2, then I get
the following -I options passed to gcc:

"g++" -Wall -ftemplate-depth-100 -O0 -fno-inline -g -fPIC -pthread -DAPPCONFIG_FILE=\"ameDLLPrecomp.h\"
-I"/home/crodrigu/loki"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/AvidEnv"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/CoreServices/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/CoreThreads/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/MacPlayers/Devices"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/EasyAME/EasyPlayer"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/EasyAME/public_include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/amedll"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/compman"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/ame/sourceman"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/core/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/coresw/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/devices/digitalio/public"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/external/boost"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/AvidTalk/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/MediaComposer/Media_Composer"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/ImportExport"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/audio_support"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/comp_misc"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/directoryutils"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/edm"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/effects"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/ppg/ame/player"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/twk_sharedbuilds/linux/AAF_Toolkit/AAFi686LinuxSDK/include"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/xplat/AVX/avx2/avx2sdk/inc"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/xplat/AVX/avx2/avx2sdk/utils"
-I"/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs/xplat/AVideoSample"

Why do the include options passed to gcc re-order like this?
In my specific case, the include order specified in the Jamfile is
important and cannot be re-ordered.

Have I encountere a bug, or am I not understanding properly how to
use this feature?

Thanks.

-- 
Craig Rodrigues 
rodrigc_at_[hidden]
 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Jamroot1
path-constant VOBS : "/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs" ;
path-constant CORESW : "$(VOBS)/coresw" ;
path-constant PPG : "$(VOBS)/ppg" ;
path-constant MC : "$(VOBS)/ppg/MediaComposer" ;
path-constant AVX : "$(VOBS)/xplat/AVX" ;
path-constant EXTERNAL : "$(VOBS)/external" ;
path-constant PPG : "$(VOBS)/ppg" ;
path-constant AAF : "$(VOBS)/twk_sharedbuilds/mac/AAF_Toolkit" ;
path-constant XPLAT : "$(VOBS)/xplat" ;
path-constant HWSUPPORT : "$(VOBS)/HWsupport" ;
path-constant DEVICES : "$(VOBS)/devices" ;
project ameplayer
: requirements 
<include>$(CORESW)/ame/amedll
<include>$(CORESW)/ame/EasyAME/EasyPlayer
<include>$(CORESW)/ame/EasyAME/public_include
<include>$(CORESW)/CoreServices/include
<include>$(CORESW)/ame/compman
<include>$(CORESW)/ame/sourceman
<include>$(CORESW)/CoreThreads/include
<include>$(CORESW)/core/include
<include>$(CORESW)/MacPlayers/Devices
<include>$(CORESW)/AvidEnv
<include>$(DEVICES)/digitalio/public
<include>$(PPG)/AvidTalk/include
<include>$(PPG)/ame/audio_support
<include>$(PPG)/ame/comp_misc
<include>$(PPG)/ame/directoryutils
<include>$(PPG)/ame/edm
<include>$(PPG)/ame/effects
<include>$(PPG)/ame/ImportExport
<include>$(PPG)/ame/player
<include>$(PPG)/MediaComposer/Media_Composer
<include>$(XPLAT)/AVX/avx2/avx2sdk/utils
<include>$(XPLAT)/AVX/avx2/avx2sdk/inc
<include>$(XPLAT)/../twk_sharedbuilds/linux/AAF_Toolkit/AAFi686LinuxSDK/include
<include>$(XPLAT)/AVideoSample
<include>$(EXTERNAL)/boost
<include>$(EXTERNAL)/loki
<include>$(CORESW)/include
<threading>multi
;
lib somlib : somefile.cpp ;
 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=Jamroot2
path-constant VOBS : "/usr/snapshots/crodrigu.MCMain_M2WR_Linux_s/vobs" ;
path-constant CORESW : "$(VOBS)/coresw" ;
path-constant PPG : "$(VOBS)/ppg" ;
path-constant MC : "$(VOBS)/ppg/MediaComposer" ;
path-constant AVX : "$(VOBS)/xplat/AVX" ;
path-constant EXTERNAL : "$(VOBS)/external" ;
path-constant PPG : "$(VOBS)/ppg" ;
path-constant AAF : "$(VOBS)/twk_sharedbuilds/mac/AAF_Toolkit" ;
path-constant XPLAT : "$(VOBS)/xplat" ;
path-constant HWSUPPORT : "$(VOBS)/HWsupport" ;
path-constant DEVICES : "$(VOBS)/devices" ;
project ameplayer
: requirements 
<include>$(CORESW)/ame/amedll
<include>$(CORESW)/ame/EasyAME/EasyPlayer
<include>$(CORESW)/ame/EasyAME/public_include
<include>$(CORESW)/CoreServices/include
<include>$(CORESW)/ame/compman
<include>$(CORESW)/ame/sourceman
<include>$(CORESW)/CoreThreads/include
<include>$(CORESW)/core/include
<include>$(CORESW)/MacPlayers/Devices
<include>$(CORESW)/AvidEnv
<include>$(DEVICES)/digitalio/public
<include>$(PPG)/AvidTalk/include
<include>$(PPG)/ame/audio_support
<include>$(PPG)/ame/comp_misc
<include>$(PPG)/ame/directoryutils
<include>$(PPG)/ame/edm
<include>$(PPG)/ame/effects
<include>$(PPG)/ame/ImportExport
<include>$(PPG)/ame/player
<include>$(PPG)/MediaComposer/Media_Composer
<include>$(XPLAT)/AVX/avx2/avx2sdk/utils
<include>$(XPLAT)/AVX/avx2/avx2sdk/inc
<include>$(XPLAT)/../twk_sharedbuilds/linux/AAF_Toolkit/AAFi686LinuxSDK/include
<include>$(XPLAT)/AVideoSample
<include>$(EXTERNAL)/boost
<include>/home/crodrigu/loki
<include>$(CORESW)/include
<threading>multi
;
lib somlib : somefile.cpp ;
 --BOKacYhQ+x31HxR3-- 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk