/usr/share/doc/libmpdec-dev/INSTALL.txt is in libmpdec-dev 2.4.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | # ======================================================================
# Unix: library install instructions
# ======================================================================
# NONGNU: gmake required!
# Section 'Custom build' explains how to change the relevant
# build parameters.
./configure
#
# Short tests. On a fast machine 30s for CONFIG_64 and 60s for CONFIG_32.
#
# ./runshort.sh attempts to download the official tests from
# http://speleotrove.com/decimal/dectest.zip. If wget is
# not installed, download dectest.zip and put the contents
# into the tests/testdata directory.
make check
#
# Alternatively: Short tests with allocation failure testing.
# On a fast machine 5 min for CONFIG_64 and 10 min for CONFIG_32.
make check_alloc
# Production build:
make clean
make CFLAGS=-DNDEBUG
make install
# ======================================================================
# Custom build
# ======================================================================
#
# MACHINE variable:
#
# If ./configure fails to detect the optimal configuration, a specific
# configuration can be enforced by providing the MACHINE variable.
#
# Example:
#
# ./configure MACHINE=x64
#
# Possible values (in decreasing order of preference):
#
# 1. x64 - 64-bit OS with x86_64 processor (AMD, Intel)
#
# 2. uint128 - 64-bit OS, compiler provides __uint128_t (gcc)
#
# 3. ansi64 - 64-bit OS, ANSI C
#
# 4. ppro - 32-bit OS, x86 CPU, PentiumPro or later
#
# 5. ansi32 - 32-bit OS, ANSI C
#
# 6. ansi-legacy - 32-bit OS, compiler without uint64_t
#
#
# CFLAGS, LDFLAGS:
#
# If CFLAGS or LDFLAGS are passed to ./configure, they are appended to the
# minimal libmpdec configuration:
#
# ./configure CFLAGS="-m32 -march=i586 -O3" LDFLAGS="-m32"
#
# ==> -DCONFIG_32 -DPPRO -DASM -O2 -fpic -m32 -march=i586 -O3
#
# Both MACHINE and CFLAGS can be specified, making it possible to have a
# complete custom configuration:
#
# ./configure MACHINE=ansi32 CFLAGS="-Wall -W -O3 -g"
#
# ==> -DCONFIG_32 -DANSI -Wall -W -O3 -g
#
#
# ======================================================================
# Windows: library install instructions
# ======================================================================
# Build scripts for Visual Studio are in the vcbuild directory.
|