Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-10-30 02:41:22


brock_peabody wrote:

> I'm using <toolset>gcc and <toolset>msvc to differentiate compiler
> specific settings. This works fine on my windows box, but as soon
> as I try to build on my linux box I get the above error - even
> though I'm not actually trying to compile with MSVC.
>
> For now I am going to put "if [os.name] = NT {...}" around
> everything but this doesn't seem quite as elegant. Is there a
> better way to do what I'm trying to do?

A slightly better way is to put

using msvc ;

into your user-config.jam. You'll get a warning that msvc in not found in
path, but everything will work okay.

There were some talks about adding a way to say: "I'd like to use this feature
in my Jamfiles, no matter if it's declared already or not". But nobody
implemented the suggestion yet.

- Volodya

>
> Thanks
>
>
>
>
> To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

 


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