Is it possible to override the CONFIG_COMMAND ?

"Kuhl, Brian via Boost-build" <[email protected]>
Newsgroups gmane.comp.lib.boost.build
Message-ID <6C486AB80682E24095E3E77A408D68F201499080F9@ALA-MBD.corp.ad.wrs.com>
Our toolchain developers have decided to link with "ld" instead of "gcc"
Propagating there cross-build gcc configuration to Boost jam environment is challenging.
there <linkflags> don't have "-Wl," prefix

I'm considering a couple of options, but when I experiment with <linker> option in init()

    # - linker tool other than default gcc++
    local linker = [ feature.get-values <linker> : $(options) ] ;
    if $(linker)
    {
        toolset.flags gcc.link CONFIG_COMMAND $(condition) : $(linker[1]) ;
    }

It's prepending instead of replacing ..
ldppc -m elf64ppc --oformat=elf64-powerpc ccppc  -o  .....

How do I replace instead of prepend?
Do I need to define a "generator"

Thanks,

Brian Kuhl

_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.