[jamming] Jam warning "using independent target"
Diane Holt
holt.diane at gmail.com
Thu Mar 8 17:04:44 PST 2007
Are you passing the flags themselves to the actions? If you are, don't :)
Set them "on" the target instead.
Diane
On 3/8/07, Brendon Costa <bcosta at avdat.com.au> wrote:
>
> Hi All,
>
> I have a set of jam scripts (I am using a modified version of Crystal
> Spaces jam build system). I just made a few changes and they seem to
> work fine, but while compiling I get a number of messages like:
>
> warning: using independent target -lADS_VDLm2 -L/usr/local/lib ...
>
> I read on the web that this has something to do with jam assuming that
> either the first or second parameters to a rule are actually targets.
> If for example I have a rule: AppendNonDupFlags
>
> Where the first arg $(<) is a list of strings of flags that exist for
> a current target and the second arg $(>) is a single string containing
> a set of flags that I want to append to $(<) but removing duplicates
> from $(<) that exist in $(>) I.e. keeping the rightmost duplicate
> after appending.
>
> Will jam treat the second argument $(>) as a target and thus cause
> this warning or should I be looking elsewhere for the problem?
>
> If so how can I get jam to treat $(>) as a non-target. I.e. it is just
> a string of linker flags that is being manipulated not a target?
>
>
> P.s. I tried using jam -d4 and see what occurs around this warning,
> but it did not show anything useful...
>
> Thanks,
> Brendon.
>
>
>
> _______________________________________________
> jamming mailing list - jamming at perforce.com
> http://maillist.perforce.com/mailman/listinfo/jamming
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maillist.perforce.com/pipermail/jamming/attachments/20070308/8823456c/attachment.html
More information about the jamming
mailing list