[Scons-users] Using Linker Plugin with Scons
Justin Zane Chudgar
justin at justinzane.com
Tue Oct 22 20:33:24 EDT 2013
Dirk:
Thanks! That gives me an idea of why things don't work. the "llvm" tool
somehow got killed but the .pyc version lives on so I did not notice. I'll
look at that and at the order of setting linkflags.
> Justin,
>
> On 22.10.2013 00:39, Justin Zane Chudgar wrote:
> >> [...]
> >
> > I'm working on a personal fork of Wesnoth here:
> > https://github.com/justinzane/wesnoth-old/tree/jz_clang
> >
> > The file in question is "SConstruct.py" which is symlinked to
> > SConstruct in my working directory. Git, as I have learned :), does
> > not handle that well. The only reason for the weird symlink is so
> > that Eclipse CDT will open it in an external editor.
> >
> > The section in question is at ~line 307. Note that I have tried
> > numerous variations on the string to append to LINKFLAGS, just the
> > last failure is there.
>
> you're loading a Tool named "llvm", right after setting the LINKFLAGS. I
> currently don't see where this Tool comes from, I can't seem to find it
> anywhere in the repo.
> So, I'm not able to check whether it overwrites the LINKFLAGS
> again...please do that on your side.
> A grep for "LINKFLAGS" in the whole source tree might also help, since
> it looks as if your settings get overwritten somewhere. As Bill
> suggested, you can try to track down the exact place by adding a print
> debug statement:
>
> print env.Dump()
>
> in your SConstruct(s) and checking the contents of the LINKFLAGS
> variable.
>
> Hope this helps you a little further.
>
> Best regards,
>
> Dirk
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://four.pairlist.net/pipermail/scons-users/attachments/20131022/edb82cb7/attachment.pgp
More information about the Scons-users
mailing list