[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-build
Subject:    Re: [Boost-build] Is it possible to override the CONFIG_COMMAND ?
From:       Steven Watanabe via Boost-build <boost-build () lists ! boost ! org>
Date:       2018-08-29 16:58:06
Message-ID: d52e517f-2492-8e31-0da5-468348bacfb9 () gmail ! com
[Download RAW message or body]

AMDG

On 08/28/2018 08:21 PM, Kuhl, Brian wrote:
> Looking at some other generators I don't quite understand?
> Once I create an alternate generator, what next? Do I just make an action \
> specifically named for that generator? 

  Yes, that's exactly what you should do,
though I would call it gcc.link.vxworks
to pick up the flags for gcc.link.

> Many Thanks,
> 
> Brian
> 
> g = [ new gcc-linking-generator gcc.vxworks.link
> > OBJ LIB
> > EXE
> > <toolset>gcc <target-os>vxworks ] ;
> $(g).set-rule-name gcc.link ;
> generators.register $(g) ;
> 
> generators.override gcc.vxworks.link : gcc.link ;
> 
> .LD ?= ldppc ;
> 
> actions gcc.vxworks.link bind LIBRARIES {
> {
> $(.LD) $(USER_OPTIONS) -L"$(LINKPATH)" -o "$(<)" $(CRT0_OBJ) "$(>)" $(START-GROUP) \
> $(LIBRARIES) $(FINDLIBS-ST-PFX) -l$(FINDLIBS-ST) $(FINDLIBS-SA-PFX) \
> -l$(FINDLIBS-SA) $(END-GROUP)  $(OPTIONS)  }
> 
> 

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic