diff --git a/README.markdown b/README.markdown index 3a89c756..c26b780d 100644 --- a/README.markdown +++ b/README.markdown @@ -6,7 +6,7 @@ DStep is a tool for translating C and Objective-C headers to D modules. For the latest release see: [releases/latest](https://github.com/jacob-carlborg/dstep/releases/latest). -Pre-compiled binaries are available for Mac OS X, Linux and FreeBSD. As 32 and 64bit. See the +Pre-compiled binaries are available for OS X, Linux and FreeBSD, as 64bit. See the [releases](https://github.com/jacob-carlborg/dstep/releases) section. Arch packages are available in [community] repository (thanks to Михаил Страшун): @@ -23,16 +23,16 @@ The source code is available under the [Boost Software License 1.0](http://www.b ### Requirements -* libclang - [http://clang.llvm.org](http://clang.llvm.org) - 3.1 or later -* DMD - [http://dlang.org/download.html](http://dlang.org/download.html) - 2.063.2 - 2.064.2 -* Tango - [https://github.com/SiegeLord/Tango-D2](https://github.com/SiegeLord/Tango-D2) +* libclang - [http://clang.llvm.org](http://clang.llvm.org) - 3.1 or later that is binary compatible with 3.1 +* DMD - [http://dlang.org/download.html](http://dlang.org/download.html) - 2.069.2 +* Dub [http://code.dlang.org/download](http://code.dlang.org/download) ### Building -1. Install all requirements, see [below](#requirements-1) +1. Install all requirements, see [above](#requirements) 2. Clone the repository by running: - $ git clone --recursive git://github.com/jacob-carlborg/dstep.git + $ git clone git://github.com/jacob-carlborg/dstep.git 3. run `dub build` @@ -46,38 +46,6 @@ For translating Objective-C headers add the `-ObjC` flag. Use `-h` for usage information. Any flags recognized by Clang can be used. -## Requirements - -### libclang - -This tool requires libclang. Any version that is 3.1 or later and binary compatible with 3.1 -should work. Either download the pre-compatible libraries from the LLVM site or use libclang -shipping with your system or available from the system package manager. - -Some header files will require "stdarg.h" and/or "stddef.h". These are so called builtin -includes and are shipped with Clang. They need to be placed in the standard header locations -or explicitly referenced with the `-I` flag. For more information see the -[Clang FAQ](http://clang.llvm.org/docs/FAQ.html#i-get-errors-about-some-headers-being-missing-stddef-h-stdarg-h). - -Download the pre-compiled libraries here: - -[http://llvm.org/releases/download.html#3.1](http://llvm.org/releases/download.html#3.1) - -Alternatively compile libclang yourself: - - $ git clone http://llvm.org/git/llvm.git - $ cd llvm - $ git checkout release_31 - $ cd tools - $ git clone http://llvm.org/git/clang.git - $ cd clang - $ git checkout release_31 - $ cd ../.. - $ ./configure --enable-optimized - $ cp Release+Asserts/lib/libclang. - -### [Dub](http://code.dlang.org/download) - ## Limitations/Known issues * Doesn't translate preprocessor macros of any kind