lör 2009-07-18 klockan 20:02 +1000 skrev Robert Collins:
> So the patch from gentoo - s/CXX_HOST/CXX_FOR_BUILD/ - and its nearly
> right. The only problem is determining the build machine cxx. sadly
> autoconf and automake don't have good built in foo for this (at least
> according to their manuals). So I'd do this
> http://archives.postgresql.org/pgsql-hackers/2005-05/msg01520.php
autotools documentation suggest a slight extension to this, setting the
variable to some hardcoded value (i.e. cc or gcc) if cross-compilation
is detected as $CC is then set to the cross-compiler and not very
usable.
Regards
Henrik
Received on Mon Jul 20 2009 - 01:47:42 MDT
This archive was generated by hypermail 2.2.0 : Mon Jul 20 2009 - 12:00:05 MDT