Boost logo

Boost Users :

Subject: Re: [Boost-users] [Context] Boost.Context ARM64 support
From: mefyl (mefyl_at_[hidden])
Date: 2015-01-14 04:58:13


On Monday 12 January 2015 17:37:44 Oliver Kowalke wrote:
> 2015-01-12 16:05 GMT+01:00 mefyl <mefyl_at_[hidden]>:
> > Running that exact compilation adding "-arch arm64" fixes it.
>
> hmm - seams to be a issue of boost.build if option -arch gets the wrong
> value

For the record, this was indeed a boost.build issue fixable on develop with
this patch:

diff --git a/src/tools/clang-darwin.jam b/src/tools/clang-darwin.jam
index 51e5fad..2976030 100644
--- a/src/tools/clang-darwin.jam
+++ b/src/tools/clang-darwin.jam
@@ -72,6 +72,8 @@ rule init ( version ? : command * : options * )

  SPACE = " " ;

+flags clang-darwin OPTIONS <architecture>arm <address-model>64 : -arch arm64
;
+
  flags clang-darwin.compile OPTIONS <cflags> ;
  flags clang-darwin.compile.c++ OPTIONS <cxxflags> ;
  # flags clang-darwin.compile INCLUDES <include> ;

Cheers,

-- 
Quentin "mefyl" Hocquet
CTO @ infinit.io

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