view INSTALL @ 454:4b6fa53a8240

INSTALL: document the new way
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 10 May 2024 06:19:24 +0000
parents 34f8549ff0b1
children a53225b44ea5
line wrap: on
line source

Dependency graph
================

The complete Themyscira GSM codec libraries & utilities package as presented
here consists of two principal parts:

Division 1: libgsmefr, libgsmfr2 and libtwamr, the set of C code libraries
intended to be usable by other software;

Division 2: various command line utilities that were developed under the
umbrella of this project and are being released accordingly.

Division 2 components have a compile-time dependency on Division 1 (most of
these Division 2 command line utilities link with the libraries), but not the
other way around: none of the core libraries have any dependency on any other
part of this package, not even on each other.

Previous versions of gsm-codec-lib suite had a dependency on libgsm, the
original GSM 06.10 implementation library from 1990s, and our suite was
originally architectured as extending and building on top of libgsm.  However,
this dependency has now been eliminated, and our new GSM codec libraries and
utilities suite is now completely independent from historical libgsm.

Compiling and installing Themyscira libraries and utilities
===========================================================

The configuration and build process has been fully revamped since previous
versions:

* You now need to run ./configure before running 'make' - however, please note
  that our ./configure script is hand-coded, not Autotools/autohell, hence
  there is no autoreconf nonsense involved.

* When you run ./configure, you get the opportunity to either leave CC=, CFLAGS=
  and the install prefix at their default values, or change them to your own
  preferences.

* There are no more install-lib and install-utils targets, just regular
  'make install' that installs everything into whichever prefix you chose at
  configure time.

The default install prefix is /opt/themwi; to change it, pass the standard
--prefix=/wherever option to ./configure script.  The default compilation
settings are CC=gcc and CFLAGS=-O2; to change them, pass CC=my-whatever-cc
and/or CFLAGS="-fwhatever-flags" to configure.