forked from BoGanon/masp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
42 lines (31 loc) · 1.01 KB
/
INSTALL
File metadata and controls
42 lines (31 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
-*- mode: text -*-
MASP Assembly Preprocessor Installation Instructions
====================================================
Build requirements
------------------
- C compiler (GCC/Clang)
- CMake 3.15+ (recommended)
Quick build (CMake)
-------------------
mkdir -p build-cmake
cmake -S . -B build-cmake -DCMAKE_BUILD_TYPE=Release
cmake --build build-cmake -j
This will produce the 'masp' executable under:
build-cmake/src/masp
Install
-------
By default, install path is /usr/local.
cmake --install build-cmake --prefix /usr/local
To install under /usr use:
cmake --install build-cmake --prefix /usr
External dependencies
---------------------
None. MASP no longer depends on libiberty.
Uninstall
---------
CMake does not generate an uninstall target by default. To uninstall, remove
the installed 'masp' binary from the chosen prefix (e.g. /usr/local/bin/masp).
Notes
-----
- Legacy autotools files and workflow have been removed; use CMake.
- There is currently no additional documentation or configuration files.