[MacPorts] #62426: libc++: using a newer libc++ to build software on older macos systems
MacPorts
noreply at macports.org
Thu Mar 11 02:08:21 UTC 2021
#62426: libc++: using a newer libc++ to build software on older macos systems
--------------------------+----------------------
Reporter: kencu | Owner: kencu
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libcxx |
--------------------------+----------------------
Comment (by kencu):
But, this does work:
{{{
$ /usr/bin/clang++ -std=c++17 -D_LIBCPP_DISABLE_AVAILABILITY
/opt/local/libexec/llvm-11/lib/libc++.a
/opt/local/libexec/llvm-11/lib/libc++abi.a fstest.cpp
}}}
and gives us:
{{{
$ ls -la a.out
-rwxr-xr-x 1 kencu staff 838712 10 Mar 18:06 a.out
}}}
{{{
$ ./a.out
Displaying path info for: "/Users/kencu"
path part: 0 = "/"
path part: 1 = "Users"
path part: 2 = "cunn kencu ingh"
exists() = 1
root_name() = ""
root_path() = "/"
relative_path() = "Users/kencu"
parent_path() = "/Users"
filename() = "kencu"
stem() = "kencu"
extension() = ""
canonical() = "/Users/kencu"
path concat/append:
"C:\\temp/user/data"
"C:\\temp\\userdata"
}}}
--
Ticket URL: <https://trac.macports.org/ticket/62426#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list