|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-05-05 02:50:08
On Friday 05 May 2006 01:48, Noam Tamim wrote:
> Mark,
>
> First of all - knowledge of the specific compiler is not needed. My
> question is generic - how to create a new toolset adapter, or generator?
>
> Now - hcac (full name: High C/C++ Compiler, by ARC) is a cross-compiler. It
> runs on Win32/Linux, but targets the ARC processor - which is used in
> embedded systems (real embedded, not WinCE and the like. I'm talking
> smartcard-level embedded). It is not used by many people, which is why I
> assumed nobody has created a generator for it.
>
> I guess I can just take the msvc or gcc generators and change them. Do I
> have to do anything besides creating a copy of (for example) tools/gcc.jam
> file? Anywhere else to register the new toolset?
No, as soon as you've created a copy you can add
using hcac : ....... ;
in your user-config.jam and get started.
I'd suggest using some simpler toolset as a basis, for example borland.jam.
Both gcc and msvc are very old toolset and have quite a lot of code.
- Volodya
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build V2: 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