Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document windows compilation #1465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -555,12 +555,26 @@ To use the jitter, GCC or LLVM is recommended
* Debian (testing/unstable): Not tested
* Debian stable/Ubuntu/Kali/whatever: `pip install llvmlite` or install from [llvmlite](https://github.com/numba/llvmlite)
* Windows: Not tested
* Build and install Miasm:
* Build and install Miasm on Linux:
```pycon
$ cd miasm_directory
$ python setup.py build
$ sudo python setup.py install
```
* Build and install Miasm on Windows:

And then, open the visual studio command prompt and type:

```bat
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
python.exe -m pip install -r requirements.txt
python.exe -m pip install -r optional_requirements.txt
python setup.py build
python setup.py install
```

Very important Warning:
You must open the visual studio command prompt. You must not use the powershell or the batch terminal. If you do not use visual studio command prompt, the program will not compile.

If something goes wrong during one of the jitter modules compilation, Miasm will
skip the error and disable the corresponding module (see the compilation
Expand Down