Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Keystone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Third Party Mirrors
Keystone
Commits
e366688f
Commit
e366688f
authored
8 years ago
by
Nguyen Anh Quynh
Browse files
Options
Downloads
Patches
Plain Diff
better readability for docs/COMPILE*
parent
aaa6e778
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/COMPILE-NIX.md
+10
-10
10 additions, 10 deletions
docs/COMPILE-NIX.md
docs/COMPILE-WINDOWS.md
+5
-5
5 additions, 5 deletions
docs/COMPILE-WINDOWS.md
with
15 additions
and
15 deletions
docs/COMPILE-NIX.md
+
10
−
10
View file @
e366688f
...
@@ -8,30 +8,30 @@ CMake is required as dependency.
...
@@ -8,30 +8,30 @@ CMake is required as dependency.
-
On Mac OS X, you can install "cmake" with "brew".
-
On Mac OS X, you can install "cmake" with "brew".
$ brew install cmake
$ brew install cmake
-
On Utunbu Linux, install "cmake" with.
-
On Utunbu Linux, install "cmake" with.
$ sudo apt-get install cmake
$ sudo apt-get install cmake
1.
From the root directory of Keystone source, compile dynamic library
1.
From the root directory of Keystone source, compile dynamic library
with below commands.
with below commands.
$ mkdir build
$ mkdir build
$ cd build
$ cd build
$ ../make-share.sh
$ ../make-share.sh
You can also compile static libray with.
You can also compile static libray with.
$ mkdir build
$ mkdir build
$ cd build
$ cd build
$ ../make-lib.sh
$ ../make-lib.sh
2.
Right after building step, install Keystone.
2.
Right after building step, install Keystone.
$ sudo make install
$ sudo make install
Besides the libraries & C header files under directory "include/keystone",
Besides the libraries & C header files under directory "include/keystone",
this step also installs a tool named "kstool" into the system.
this step also installs a tool named "kstool" into the system.
...
@@ -40,7 +40,7 @@ CMake is required as dependency.
...
@@ -40,7 +40,7 @@ CMake is required as dependency.
3.
Test Keystone with "kstool" like below.
3.
Test Keystone with "kstool" like below.
$ kstool x32 "add eax, ebx"
$ kstool x32 "add eax, ebx"
Run "kstool" without any option to find out how to use this handy tool.
Run "kstool" without any option to find out how to use this handy tool.
...
...
This diff is collapsed.
Click to expand it.
docs/COMPILE-WINDOWS.md
+
5
−
5
View file @
e366688f
...
@@ -14,16 +14,16 @@ https://www.visualstudio.com
...
@@ -14,16 +14,16 @@ https://www.visualstudio.com
1.
Open the Visual Studio Command Promplt, and from the root directory
1.
Open the Visual Studio Command Promplt, and from the root directory
of Keystone source, do:
of Keystone source, do:
$ mkdir build
$ mkdir build
$ cd build
$ cd build
To build DLL file, run:
To build DLL file, run:
$ ..\nmake-dll.bat
$ ..\nmake-dll.bat
To build LIB file, run:
To build LIB file, run:
$ ..\nmake-lib.bat
$ ..\nmake-lib.bat
Find the generated libraries in build
\l
lvm
\l
ib
\k
eystone.{dll,lib}
Find the generated libraries in build
\l
lvm
\l
ib
\k
eystone.{dll,lib}
...
@@ -34,7 +34,7 @@ https://www.visualstudio.com
...
@@ -34,7 +34,7 @@ https://www.visualstudio.com
2.
Test Keystone with "kstool" like below.
2.
Test Keystone with "kstool" like below.
>
kstool x32 "add eax, ebx"
$
kstool x32 "add eax, ebx"
Run "kstool" without any option to find out how to use this handy tool.
Run "kstool" without any option to find out how to use this handy tool.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment