From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2002-08-06 08:54:39
Vladimir Prus wrote:
> Markus Schöpflin wrote:
> > Sorry, I forgot to say it's not windows, it's linux I'm currently working
> > on. The command line gets truncated by jam and not the shell. Isn't there
> > some global variable where all the features and values are stored?
> Oh... this never happened before. Is the command line truncated in "bjam -n"
> output? Do you have a simple example that you can post?
> - Volodya
I have an example and it's fairly simple.
subproject test/jam/limits ;
MY_A = a0 a1 a2 ; # a3 ;
MY_B = b0 b1 b2 ; # b3 ;
MY_AB = $(MY_A)$(MY_B) ;
MY_ABAB = $(MY_AB)$(MY_AB) ;
exe foo : test.c : <linkflags>"$(MY_ABAB)" ;
This generates a command line containing a0b0a0b0 up to a2b2a2b2
for the linkflags.
If you add "a3" and "b3" to the lists I get a command line which
contains strange garbage at the end of the link flags.
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