Files
libsam3/README.md
2020-11-18 15:13:57 -05:00

797 B

libsam3

Build Status

A C library for the SAM v3 API.

Development Status

Unmaintained, but PRs welcome!

Usage

Copy the two files from one of the following locations into your codebase:

  • src/libsam3 - Synchronous implementation.
  • src/libsam3a - Asynchronous implementation.

See examples/ for how to use various parts of the API.

Cross-Compiling for Windows from debian:

Set your cross-compiler up:

export CC=x86_64-w64-mingw32-gcc
export CFLAGS='-Wall -O2 '
export LDFLAGS='-lmingw32 -lws2_32 -lwsock32 -mwindows'

and run make build. Only libsam3 is available for Windows, libsam3a will be made available at a later date.