Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cross compile
From: Vladimir Prus (ghost_at_[hidden])
Date: 2011-02-23 02:30:32


On Tuesday, February 22, 2011 10:38:56 magne.tveiten_at_[hidden] wrote:
> We wish to build boost test library for vxworks in order to run automated
> unit test on our target HW. Our application is build with a gcc cross
> compiler on windows for vxworks.
>
> Is it possible to specify vxworks as target-os?
>
> Or specify our own compiler and compiler settings to use by boost build?

Please follow the suggestions at:

        http://www.boost.org/boost-build2/doc/html/bbv2/tasks/crosscompile.html

It's not presently possible to specify vxworks as target-os. I am not familiar
with that OS, so depending on how different it is from linux, you might want to
either:

        - Use target-os=linux
        - Modify tools/builtin.jam to include 'vxworks' in the .os-names variable,
      and maybe modify files in tools/type to use right file extensions for
          vxworks

HTH,
Volodya

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

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