summaryrefslogtreecommitdiff
path: root/Build/source/doc/tlbuild.texi
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-25 00:07:22 +0000
committerKarl Berry <karl@freefriends.org>2014-12-25 00:07:22 +0000
commit97700f257440a15efecbf958d548fc4f279a91a3 (patch)
treef9e59b26ba7a0ac691a2dbd73e48285bd2377665 /Build/source/doc/tlbuild.texi
parentea75d0bfb820f1fea872bbdfb88fed8e77947698 (diff)
TL_BUILD_ENV rather than CC=... arguments when using ./Build
git-svn-id: svn://tug.org/texlive/trunk@35902 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/doc/tlbuild.texi')
-rw-r--r--Build/source/doc/tlbuild.texi15
1 files changed, 10 insertions, 5 deletions
diff --git a/Build/source/doc/tlbuild.texi b/Build/source/doc/tlbuild.texi
index 54d0756c4e7..747f16b21b7 100644
--- a/Build/source/doc/tlbuild.texi
+++ b/Build/source/doc/tlbuild.texi
@@ -441,10 +441,10 @@ make check
Then you modify source files in @file{mydir/texk/dvipdfm-x} and rerun
@code{make} in @file{mydir/Work/texk/dvipdfm-x} to rebuild.
-The second line the @code{configure} invocation shows examples of
+The second line of the @code{configure} invocation shows examples of
extra things you likely want to specify if you intend to hack the
sources (and not just build binaries): the @code{-C} speeds up
-@code{configure}, and the @code{CFLAGS} and @code{CXXFLAGS} are to
+@code{configure}, and the @code{CFLAGS} and @code{CXXFLAGS} settings
eliminate compiler optimization for debugging purposes.
Of course, one should actually look at the output and check that
@@ -2093,9 +2093,14 @@ name, but note that this should @emph{not} be @code{--host=@var{host}}
(@pxref{Hosts and Cross-Compilation,,, autoconf, GNU Autoconf}).
In order to build, e.g., 32-bit binaries with @command{clang} on a 64-bit
-OSX system one could use @* @ @ @ @code{./Build --build=i386-apple-darwin
-CC='clang -arch i386'} @backslashchar{} @* @ @ @ @ @ @ @ @ @
-@code{CXX='clang++ -arch i386' OBJCXX='clang++ -arch i386'}
+MacOSX system one could use:
+
+@example
+TL_BUILD_ENV="CC='clang -arch i386' \
+ CXX='clang++ -arch i386' \
+ OBJCXX='clang++ -arch i386'" \
+ ./Build --build=i386-apple-darwin
+@end example
@menu
* Cross configuring:: Configuring for cross compilation.