From 11fcc923b00870a2d93ae9032234f752654ccab4 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Fri, 26 Dec 2014 13:45:13 +0000 Subject: Build system: Update docu git-svn-id: svn://tug.org/texlive/trunk@35908 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/README.2building | 4 ++-- Build/source/README.6cross | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'Build/source') diff --git a/Build/source/README.2building b/Build/source/README.2building index 92f8a3ee5a8..a5600e0dcc7 100644 --- a/Build/source/README.2building +++ b/Build/source/README.2building @@ -118,10 +118,10 @@ finish for working on 'dvipdfmx'. Then you modify source files in 'mydir/texk/dvipdfm-x' and rerun 'make' in 'mydir/Work/texk/dvipdfm-x' to rebuild. - The second line the 'configure' invocation shows examples of extra + The second line of the '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 '-C' speeds up 'configure', and the -'CFLAGS' and 'CXXFLAGS' are to eliminate compiler optimization for +'CFLAGS' and 'CXXFLAGS' settings eliminate compiler optimization for debugging purposes. Of course, one should actually look at the output and check that diff --git a/Build/source/README.6cross b/Build/source/README.6cross index 71894cde31d..c00525a0ad7 100644 --- a/Build/source/README.6cross +++ b/Build/source/README.6cross @@ -19,10 +19,13 @@ useful to add the configure option '--build=HOST' to get the correct canonical host name, but note that this should _not_ be '--host=HOST' (*note (autoconf)Hosts and Cross-Compilation::). - In order to build, e.g., 32-bit binaries with 'clang' on a 64-bit OSX -system one could use - './Build --build=i386-apple-darwin CC='clang -arch i386'' \ - 'CXX='clang++ -arch i386' OBJCXX='clang++ -arch i386'' + In order to build, e.g., 32-bit binaries with 'clang' on a 64-bit +MacOSX system one could use: + + TL_BUILD_ENV="CC='clang -arch i386' \ + CXX='clang++ -arch i386' \ + OBJCXX='clang++ -arch i386'" \ + ./Build --build=i386-apple-darwin 8.1 Cross configuring ===================== -- cgit v1.2.3