Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost architecture=sh4?
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-05-18 02:59:16


On 5/12/2015 5:49 PM, Edvintas wrote:
> Hello everybody,
>
> I am struggling a bit with boost build for SuperH architecture.
> If I use only sh4 toolset without specifying architecture, I get the
> following error:
> ./bjam toolset=gcc-sh4
> ...
> sh4-linux-gcc: error: unrecognized command line option ‘-m32’
> ...
>
> and with architecture defined:
>
> ./bjam toolset=gcc-sh4 architecture=sh4
> error: "sh4" is not a known value of feature <architecture>
> error: legal values: "x86" "ia64" "sparc" "power" "mips1" "mips2"
> "mips3" "mips4" "mips32" "mips32r2" "mips64" "parisc" "arm" "combined"
> "combined-x86-power"
>
> Is there any way to build boost or at least part ("system, thread,
> date_time, regex, serialization") of it for SuperH?

I think you'd have to edit gcc.jam to add 'sh4' to the list of
architectures. I don't know whether other changes will be required,
but hardly anything dramatic.

Thanks,
Volodya


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