Changes between Initial Version and Version 2 of Ticket #35217


Ignore:
Timestamp:
Jul 17, 2012, 1:27:06 AM (12 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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  
    11I'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:
    22
     3{{{
    34default configure.cxxflags  {"${configure.optflags} -std=c++11 -stdlib=libc++"}
     5}}}
    46
    57I'll be the first to admit this is a somewhat exotic setup, but I've actually had surprisingly good success so far.
     
    79One 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:
    810
     11{{{
    912write_jam "using darwin : : ${filter}${configure.cxx} ;"
     13}}}
    1014
    1115Which configures the user-config.jam file used by boosts build system. Based on the information here:
     
    1519I think that this line should be modified to something more like:
    1620
     21{{{
    1722write_jam "using darwin : : ${filter}${configure.cxx} : <compileflags>\"${configure.cppflags}\" <cflags>\"${configure.cflags}\" <cxxflags>\"${configure.cxxflags}\" <linkflags>\"${configure.cxxflags} ${configure.ldflags}\" ;"
     23}}}
    1824
    1925