|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-08-06 09:16:53
Markus Schöpflin wrote:
> 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.
I get bogus "</" at the end of command line. We have a bug!
I already spotted a possible problem using valgrind and investigating it.
- Volodya
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