[Scons-users] Using Linker Plugin with Scons
    William Deegan 
    bill at baddogconsulting.com
       
    Mon Oct 21 04:03:57 EDT 2013
    
    
  
Justin,
Please take a look at the manpage.
You're looking for *LINKFLAGS
Depending on what you are linking, you'll need to add it to the appropriate version of this flag(s).
-Bill
On Oct 20, 2013, at 8:24 PM, Justin Zane Chudgar <justin at justinzane.com> wrote:
> When compiling with clang/clang++ and any of the options that output LLVM IR, 
> for example `-O4`, on compilation it is necessary to use the LLVM gold linker 
> plugin. This involved adding 
>    `-Xlinker -plugin -Xlinker "/path/to/LLVMgold.so"`.
> 
> Though building everything with clang++ and -O4 and manually adding the above 
> options to the failed link command works, I cannot figure out how to have 
> scons do this.
> 
> Thanks for any guidance.
> 
> ----------
> ________________________________________________________________ 
> / Justin Zane Chudgar........................................... \
> | http://www.justinzane.com..................................... |
> | 539-921-0738.................................................. |
> | Robot, n.:                                                     |
> |                                                                |
> \ University administrator.                                      /
> ---------------------------------------------------------------- 
>        \   ^__^
>         \  (oo)\_______
>            (__)\       )\/\
>                ||----w |
>                ||     ||_______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
    
    
More information about the Scons-users
mailing list