Changes between Initial Version and Version 2 of Ticket #35217
- Timestamp:
- Jul 17, 2012, 1:27:06 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35217
- Property Owner changed from macports-tickets@… to adfernandes@…
-
Property
Milestone
changed from
MacPorts Future
to
-
Ticket #35217 – Description
initial v2 1 1 I've been experimenting with building various macports C++ libraries with XCode 4.5 DP2, with the compiler hardcoded to clang, and with '-std=c++11 -stdlib=libc++' edited into configure.cxxflags in portconfigure.tcl: 2 2 3 {{{ 3 4 default configure.cxxflags {"${configure.optflags} -std=c++11 -stdlib=libc++"} 5 }}} 4 6 5 7 I'll be the first to admit this is a somewhat exotic setup, but I've actually had surprisingly good success so far. … … 7 9 One problem I have discovered is that my modified configure.cxxflags were not being passed along into the boost build system when building boost. In the Boost Portfile there is a line like this: 8 10 11 {{{ 9 12 write_jam "using darwin : : ${filter}${configure.cxx} ;" 13 }}} 10 14 11 15 Which configures the user-config.jam file used by boosts build system. Based on the information here: … … 15 19 I think that this line should be modified to something more like: 16 20 21 {{{ 17 22 write_jam "using darwin : : ${filter}${configure.cxx} : <compileflags>\"${configure.cppflags}\" <cflags>\"${configure.cflags}\" <cxxflags>\"${configure.cxxflags}\" <linkflags>\"${configure.cxxflags} ${configure.ldflags}\" ;" 23 }}} 18 24 19 25