Boost logo

Boost Users :

Subject: Re: [Boost-users] building on OS X with custom gcc version
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2018-06-25 12:16:06


2018-06-25 14:01 GMT+02:00 Steven Watanabe via Boost-users <
boost-users_at_[hidden]>:

> AMDG
>
> On 06/24/2018 08:53 PM, Damien Hocking via Boost-users wrote:
> >
> >
> >> On Jun 24, 2018, at 7:02 PM, Steven Watanabe via Boost-users <
> boost-users_at_[hidden]> wrote:
> >>
> >> <snip>
> >> Okay. I see what's going on here. Boost.Context
> >> only supports darwin and clang on OSX.
> >>
> >> You can work around the issue by finding this
> >> in libs/context/build/Jamfile.v2:
> >>
> >> # X86_64/SYSV/MACH-O
> >> alias asm_sources
> >> : asm/make_x86_64_sysv_macho_gas.S
> >> asm/jump_x86_64_sysv_macho_gas.S
> >> asm/ontop_x86_64_sysv_macho_gas.S
> >> : <abi>sysv
> >> <address-model>64
> >> <architecture>x86
> >> <binary-format>mach-o
> >> <toolset>clang
> >> ;
> >>
> >> and making a copy, replacing clang with gcc.
> >
> > This didn’t work, unfortunately the errors are the same as before.
>
> I assumed that you were building for x86_64. If you're building
> for a different platform, then you'd need to find the alias for
> that architecture, instead.
>
> > We decided to go with 1.67 seeing as this was a new platform for us. I
> can use LLVM/Clang 6.0 though, and that seems to be working on 1.67. I had
> to add the clang 6.0 entry to user-config.jam but that’s all.
> > <snip>
>

take a look at:
https://www.boost.org/doc/libs/1_67_0/libs/context/doc/html/context/architectures/crosscompiling.html



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net