summaryrefslogtreecommitdiff
path: root/INSTALL
blob: ffb43a4f1af7a6359466cccf4af65ad023ccb1d9 (plain)
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
This file explains how to install GNU libunistring from a tarball.
(If you have checked out the source code repository, start by reading the
file HACKING instead.)


Prerequisites
=============

Before starting the installation, install the prerequisites listed in the
file DEPENDENCIES.  You need to have at least those marked as 'Mandatory'
installed.


Installation
============

Then, you can run 'configure':

  $ mkdir build/ && cd build
  $ ../configure

Here, you can give as arguments to 'configure'

  - configure options, as listen in the 'configure --help' output,
  - Makefile variable assignments for building the binaries, as
    described in the INSTALL.generic file.

If you are in a 64-bit multilib system with support for building 32-bit
binaries, you can build 32-bit binaries by configuring like this:

  $ ../configure CC="gcc -m32"

You find a set of known-to-work variable settings for various platforms
in https://gitlab.com/ghwiki/gnow-how/-/wikis/Platforms/Configuration .

Finally:

  $ make
  $ make check
  $ make install