From 261ffd03f72daf0c52973b6e928e6433d68ba92e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 6 Jul 2005 21:04:14 +0000 Subject: Reverse out because the lack of using pgport in timezone/ is causing problems: --------------------------------------------------------------------------- Support cross compilation by compiling "zic" with a native compiler. This relies on the output of zic being platform independent, but that is currently the case. --- doc/src/sgml/installation.sgml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 7606e03e3f4..4f9f50cc017 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -1,4 +1,4 @@ - + <![%standalone-include[<productname>PostgreSQL</>]]> @@ -993,23 +993,6 @@ su - postgres <userinput>./configure CC=/opt/bin/gcc CFLAGS='-O2 -pipe'</> </screen> </para> - - <para> - If you are cross-compiling<indexterm><primary>cross - compilation</primary></indexterm> (compiling on one architecture - with the intent to run on a different architecture), special care - needs to be taken. First of all, specify the host architecture - (the architecture PostgreSQL will run on) using the option - <option>--host</option>. The variables <envar>CC</>, - <envar>CFLAGS</>, etc. should refer to the build tools for the - host architecture. During the build process, the time-zone - database for PostgreSQL is created and a special tool to do that - is compiled and run during the build process. This tool needs to - be compiled using a native compiler. Specify this compiler using - the variable <envar>CC_FOR_BUILD</envar>. Cross compilation - requires expert knowledge and the support for this process in the - PostgreSQL tree should be considered somewhat experimental. - </para> </step> <step> -- cgit v1.2.3