summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-08-23 09:24:26 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:15:48 +0200
commit3ca21651ac1de83c62a25729780e8901d54a34da (patch)
tree1bf56ff58697138bba76f7995412e22c51a5737a /INSTALL
parent41e48d7fc6af098c63696d1d7a28285c294119ad (diff)
downloadexternal_gettext-3ca21651ac1de83c62a25729780e8901d54a34da.zip
external_gettext-3ca21651ac1de83c62a25729780e8901d54a34da.tar.gz
external_gettext-3ca21651ac1de83c62a25729780e8901d54a34da.tar.bz2
Update the sections "Compiling For Multiple Architectures" and
"Particular Systems".
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL30
1 files changed, 18 insertions, 12 deletions
diff --git a/INSTALL b/INSTALL
index fe54f9e..6360f5d 100644
--- a/INSTALL
+++ b/INSTALL
@@ -83,16 +83,19 @@ in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
- On MacOS X systems, you can create libraries and executables that work
-on multiple system types - known as "fat" or "universal" binaries - by
-specifying multiple '-arch' options to the compiler but only a single
-'-arch' option to the preprocessor. Like this:
+ On MacOS X 10.5 and later systems, you can create libraries and
+executables that work on multiple system types--known as "fat" or
+"universal" binaries--by specifying multiple '-arch' options to the
+compiler but only a single '-arch' option to the preprocessor. Like
+this:
- env CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
- CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
- CPP="gcc -arch ppc -E" \
- CXXCPP="g++ -arch ppc -E" \
- ./configure
+ ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
+ CPP="gcc -E" CXXCPP="g++ -E"
+
+ This is not guaranteed to produce working output in all cases. You
+may have to build one architecture at a time and combine the results
+using the 'lipo' tool if you have problems.
Installation Names
==================
@@ -211,9 +214,12 @@ to use an ANSI C compiler:
./configure CC="cc -Ae"
- On OSF/1 a.k.a. Tru64, some versions of the default C compiler don't grok
-its <wchar.h> header file. The option -nodtk can be used as a workaround.
-If GNU CC is not installed, it is therefore recommended to try
+and if that doesn't work, install pre-built binaries of GCC for HP-UX.
+
+ On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
+parse its `<wchar.h>' header file. The option `-nodtk' can be used as
+a workaround. If GNU CC is not installed, it is therefore recommended
+to try
./configure CC="cc"