summaryrefslogtreecommitdiff
path: root/Build/source/README
blob: 1714afb38b2e28a98cf2a8b86417348e770416b3 (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
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
$Id$
Public domain.  Originally written 2005 by Karl Berry.

For a high-level overview of building TeX Live, see
http://tug.org/texlive/build.html.  In brief:

- To configure and make the source tree, run ./Build.
  This builds in subdirectory Work/, and installs into subdirectory inst/.

- To build (mostly) without optimization, run ./Build --debug.

- If the make fails and you want to rebuild without starting from scratch:
  cd Work/whatever/subdir && make

Email tlbuild@tug.org if problems.

(Nearly everything the Build script does can be overridden via
environment variables; just take a look to see the names.)

Many more details about the TL build system, such as configuring to work
on a single program, adding new programs or libraries, documentation
about the many pieces of the system, etc., are in the doc/tlbuild*
document and the sibling README* files here (which are generated from
that document).


Build information for some of the platforms.

aarch64-linux:
  aarch64 Debian GNU/Linux 9 (stretch)
  gcc (Debian 6.3.0-18) 6.3.0 20170516
  ./Build --enable-arm-neon=check

i386-netbsd, amd64-netbsd:
  gcc version 4.5.3 (NetBSD nb2 20110806)
  NetBSD/amd64 6.1.3
  TL_MAKE=gmake CC=gcc CXX=g++ CFLAGS=-D_NETBSD_SOURCE \
  LDFLAGS='-L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib' \
  ./Build --enable-xindy CLISP=/usr/local/bin/clisp

i386-freebsd, amd64-freebsd:
  http://anthesphoria.net/FreeBSD/TeXLive-2018/
  upmendex for i386 built with -DU_IS_BIG_ENDIAN=0.

i386-linux: see travis below.

i386-openbsd, amd64-openbsd:
  e.g., see CONFIGURE_ARGS in the Makefile in
  http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/print/texlive/base/

i386-solaris, x86_64-solaris, sparc-solaris:
  Solaris 10, gcc 5.5.  See doc/README.solaris.

i386-cygwin, x86_64-cygwin: gcc-4.8.2, cygwin-1.7.29.
  ./Build (with --enable-xindy for i386).

x86_64-darwin: See Master/source/mactexdoc.tar.xz.

x86_64-darwinlegacy:
  Mac OS X 10.6, clang 5.0, libc++ required
  https://github.com/TeXLive-M/texlive-buildbot
  http://build.contextgarden.net/waterfall?tag=c/texlive
  (These links have info on all platforms built by Mojca.)

i386-linux,
x86_64-linux,
x86_64-linuxmusl:
  Alpine 3.1 Docker image with musl libc 1.1.5
  Binaries are taken from the CI testing on travis-ci
  see the source/.travis.yaml file for details on how to build,
  and tlpkg/bin/tl-update-bindir for updating binaries (in general).