Boost logo

Boost-Build :

From: Andreas Bogk (andreas_at_[hidden])
Date: 2006-04-25 09:07:34


Hi Vladimir,

thans for the swift response.

Vladimir Prus schrieb:
>> * Cross-Compilation support
> Can you describe what compilers you use, and that system you target. Maybe we
> can agree on the right interface, and then tweak some toolset files to do
> what you want.

We use a mix of MSVC, gcc and the occasional vendor compiler. Target
systems are smart phones in a number of varieties, usually something
based on ARM and WinCE.

A good interface for cross compilation would probably distiguish between
the host system and the target system, and know about architecture and
platform respectively. For instance, one could have attributes
"host-architecture", "host-platform", "target-architecture",
"target-platform". I'm tempted to even suggest a "target-model"
attribute, some things in the build process depend on the specific model
of the phone, for instance because they depend on the screen size, or
buttons present.

Both architectures and platforms would ideally form some kind of
hierarchy each, e.g. "arm926" is a "arm9" is a "arm" architecture; or
"WinCE50" is a "WinCE" is a "Win32" platform. I'd like to say somewhere
"I'm now compiling for this arm926 on WinCE50", and then in some library
say "use this file on PowerPC, and that file on ARM".

Regards,
Andreas


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