<p>Op 19 sep. 2011 16:28 schreef "OKUMURA Yuki" <<a href="mailto:mjt@cltn.org">mjt@cltn.org</a>> het volgende:<br>
><br>
> 2011/9/19 David Chisnall <<a href="mailto:csdavec@swan.ac.uk">csdavec@swan.ac.uk</a>>:<br>
> > Hi,<br>
> ><br>
> > I've been working on the FreeBSD port of libc++, and have now finished implementing all of the xlocale APIs that libc++ requires</p>
<p>How applicable is that BSD code to, say, Windows?</p>
<p>Ruben</p>
<p>><br>
> Wow<br>
><br>
> > , but I haven't been able to run the test suite.  There doesn't seem to be any documentation on building with cmake, but I presumed that make check would work after the build.  It definitely does something, but it dies with:<br>

> ><br>
> > import pkgutil # precompiled from /usr/local/lib/python2.7/pkgutil.pyc<br>
> > /usr/local/bin/python2.7: can't find '__main__' module in '/root/libcxx/build/test'<br>
> ><br>
> > Has anyone else ever tried this, and if so (how) did you make it work?<br>
><br>
> At I did something before (at<br>
> <a href="https://github.com/okuoku/bsd-cxx-runtime">https://github.com/okuoku/bsd-cxx-runtime</a> ), IIRC, CMake didn't set<br>
> proper lit.py path for it.<br>
> So if you like to use lit.py to testing the build:<br>
><br>
> 1) checkout llvm and specify its utils/lit/lit.py fullpath for libc++<br>
> CMake configuration (as -DLIT_EXECUTABLE=/PATH/TO/utils/lit/lit.py)<br>
> 2) Arrange libc++ test/lit.cfg to add FreeBSD configuration (like:<br>
> <a href="https://github.com/okuoku/libcxx/commit/abcfa43d5e6360dc311db63320a9d940e0c21ed1#diff-11">https://github.com/okuoku/libcxx/commit/abcfa43d5e6360dc311db63320a9d940e0c21ed1#diff-11</a><br>
> )<br>
><br>
> Good luck!<br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</p>