summaryrefslogtreecommitdiff
path: root/Build/source/README.cross
blob: b62300261041054b381429b18c3f4cc70ef462f4 (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
Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
You may freely use, modify and/or distribute this file.

	Cross compiling
	===============

In order to build the TL libraries and programs for a HOST system, e.g.,
i386-pc-mingw32 on a (different) BUILD system, e.g, x86_64-linux-gnu specify
the configure options
	--host=i386-pc-mingw32 --build=x86_64-linux-gnu

You may need `cross' tools properly installed as, e.g., i386-pc-mingw32-cc
in your PATH.  Configure arguments such as CFLAGS=...  refer to this cross
compiler.

If necessary, you can specify a compiler and flags for the few auxiliary C
programs required for the build process as configure arguments
	BUILDCC=...
	BUILDCPPFLAGS=...
	BUILDCFLAGS=...
	BUILDLDFLAGS=...

Building the Web2C programs requires installed versions of tangle, ctangle,
and tie (and possibly otangle and/or luatangle).

At the moment a cross compilation of xetex is not possible, because the
icu-xetex library does not support cross compilation.