diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/README.2building | 4 | ||||
-rw-r--r-- | Build/source/README.6cross | 11 |
2 files changed, 9 insertions, 6 deletions
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 ===================== |