An easy to use cross-platform C memory mapping library with a MIT license.
This is based on //github.com/mandreyel/mio, which is a C++ header
only library. This library uses traditional .h
/.c
separation.
It has no shared pointer functionality.
Use Objective-C, if you need retain counts.
Release Version | Release Notes |
---|---|
RELEASENOTES |
This project is a component of the mulle-core library. As such you usually will not add or install it
individually, unless you specifically do not want to link against
mulle-core
.
Use mulle-sde to add mulle-mmap to your project:
mulle-sde add github:mulle-core/mulle-mmap
To only add the sources of mulle-mmap with dependency sources use clib:
clib install --out src/mulle-core mulle-core/mulle-mmap
Add -isystem src/mulle-core
to your CFLAGS
and compile all the sources that were downloaded with your project.
Use mulle-sde to build and install mulle-mmap and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/mulle-core/mulle-mmap/archive/latest.tar.gz
Install the requirements:
Requirements | Description |
---|---|
mulle-c11 | 🔀 Cross-platform C compiler glue (and some cpp conveniences) |
Download the latest tar or zip archive and unpack it.
Install mulle-mmap into /usr/local
with cmake:
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_PREFIX_PATH=/usr/local \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release
Nat! for Mulle kybernetiK