Update README.md

2.0
_xeroxz 4 years ago
parent 771cd86b0c
commit 3b7d9e2122

@ -21,7 +21,7 @@ Since Theo is a jit linker, unexported symbols can be jit linked. Resolving such
* Dynamic Linking * Dynamic Linking
* Usage - Using Theodosius * Usage - Using Theodosius
* Integrating Clang * Integrating Clang
* Project Example * Requirements
* Lambdas Fpr Explicit Constructor * Lambdas Fpr Explicit Constructor
* `theo::memcpy_t` - copy memory lambda * `theo::memcpy_t` - copy memory lambda
* `theo::malloc_t` - allocate executable memory * `theo::malloc_t` - allocate executable memory
@ -69,9 +69,13 @@ For integration with visual studios please open "Visual Studio Installer" --> Cl
Once you have clang-cl installed for visual studios, navigate to the location in which it is installed. The location is (`%VCINSTALLDIR%\Tools\Llvm\bin\` and `%VCINSTALLDIR%\Tools\Llvm\x64\bin\`). Drag and drop all clang files from clang.zip into these directories. Once you have clang-cl installed for visual studios, navigate to the location in which it is installed. The location is (`%VCINSTALLDIR%\Tools\Llvm\bin\` and `%VCINSTALLDIR%\Tools\Llvm\x64\bin\`). Drag and drop all clang files from clang.zip into these directories.
### Project Example #### Requirements
Now you can create c/c++ clang projects. In order to make something that can work with Theodosius, make sure you are compiling with ***Optimizations Disabled (/Od)***, ***Control Flow Guard Disabled***, ***Security Check Disabled (/GS-)***, ***All Exceptions Disabled (No SEH)***. * No SEH support, do not add `__try/__except` in your code.
* No CFG (control flow guard) support. Please disable this in C/C++ ---> Code Generation ---> Control Flow Guard
* No Stack Security Check Support. Please disablel this in C/C++ ---> Code Generation ---> Security Check (/GS-)
* Your project must be set to produce a .lib file.
* Your project must not link with other static libraries which are not compiled with `clang-cl -mcmodel-large`.
## Lambdas Fpr Explicit Constructor ## Lambdas Fpr Explicit Constructor

Loading…
Cancel
Save