Boost logo

Boost-Build :

Subject: Re: [Boost-build] Clang windows toolset
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2013-10-22 14:56:21


Take a look at the darwin.jam file which does a lot of overriding and
removal of options as it inherits from gcc.jam. The key code is:

toolset.inherit-flags darwin : gcc
  : <runtime-link>static
     <architecture>arm/<address-model>32
     <architecture>arm/<address-model>64
     <architecture>arm/<instruction-set>
     <architecture>x86/<address-model>32
     <architecture>x86/<address-model>64
     <architecture>x86/<instruction-set>
     <architecture>power/<address-model>32
     <architecture>power/<address-model>64
     <architecture>power/<instruction-set> ;

On Tue, Oct 22, 2013 at 1:51 PM, tr1gun <tr1gun_at_[hidden]> wrote:

> Hello,
>
> i'm trying to create a toolset for clang win. I use the intel-win.jam as
> an example.
> The problem i'm facing with my current attempt (see attched file). That it
> adds the msvc Z7 commandline parameter (<debug-store>object) and clang
> chokes on it. Anyone knows how i can override the flag so at least it
> compiles until it is implemented?
> The vcvarsall.bat file detection also needs improvement. Is there a way to
> retrieve it from the msvc generator?
> Perhaps someone knows if clang provides a linker or should it use the msvc
> linker?
> Thanks in advance.
>
> Best regards,
>
> Bernhard
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
>

-- 
-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk