diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-01 22:49:37 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-08-01 22:49:37 +0900 |
| commit | 1642e0c39220e95ddb16b4cbbbe78f24507dfd48 (patch) | |
| tree | bda6231392dec67d3290ab8fff88513b4840204d /docs | |
| parent | d68c01fd314ebd6dc1d89c95a2734fad4f0953b0 (diff) | |
Remove unnecessarily copied document [ci skip]
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/building.md | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/docs/building.md b/docs/building.md deleted file mode 100644 index 758f02eb41..0000000000 --- a/docs/building.md +++ /dev/null @@ -1,26 +0,0 @@ -# Building - -The following describes how to build YARP from source. - -## Common - -All of the source files match `src/**/*.c` and all of the headers match `include/**/*.h`. - -The following flags should be used to compile YARP: - -* `-std=c99` - Use the C99 standard -* `-Wall -Wconversion -Wextra -Wpedantic -Wundef` - Enable the warnings we care about -* `-Werror` - Treat warnings as errors -* `-fvisibility=hidden` - Hide all symbols by default - -The following flags can be used to compile YARP: - -* `-DHAVE_MMAP` - Should be passed if the system has the `mmap` function -* `-DHAVE_SNPRINTF` - Should be passed if the system has the `snprintf` function - -## Shared - -If you want to build YARP as a shared library and link against it, you should compile with: - -* `-fPIC -shared` - Compile as a shared library -* `-DYP_EXPORT_SYMBOLS` - Export the symbols (by default nothing is exported) |
