autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: INSTALL should tell about particular systems


From: Ralf Wildenhues
Subject: Re: INSTALL should tell about particular systems
Date: Sun, 13 Apr 2008 10:52:13 +0200
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

OK well, first autoconf.texi needed adjustment.  Second, c.m4
_AC_PROG_CC_C89 already checks for -Ae, so I don't understand
why it's not used automatically (AC_PROG_CC calls that macro).

Third, the bit of qualm I have going this route is that we may
end up with dozens of recommendations, that all apply to some
more or less large subset of packages that use Autoconf.  For
the rest it's just bloat.  That said, I do understand the need
for the recommendations Bruno lists.

What do others think about this?

Cheers,
Ralf

2008-04-13  Bruno Haible  <address@hidden>

        * doc/install.texi (Particular Systems): New section.
        * doc/autoconf.texi: Adjust.

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 8b10387..f8b4614 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -556,6 +556,7 @@ Running @command{configure} Scripts
 * Multiple Architectures::      Compiling for multiple architectures at once
 * Installation Names::          Installing in different directories
 * Optional Features::           Selecting optional features
+* Particular Systems::          Important system-specific notes
 * System Type::                 Specifying the system type
 * Sharing Defaults::            Setting site-wide defaults for 
@command{configure}
 * Defining Variables::          Specifying the compiler etc.
@@ -17980,6 +17981,7 @@ may use comes with Autoconf.
 * Multiple Architectures::      Compiling for multiple architectures at once
 * Installation Names::          Installing in different directories
 * Optional Features::           Selecting optional features
+* Particular Systems::          Important system-specific notes
 * System Type::                 Specifying the system type
 * Sharing Defaults::            Setting site-wide defaults for 
@command{configure}
 * Defining Variables::          Specifying the compiler etc.
diff --git a/doc/install.texi b/doc/install.texi
index e087629..146dcd8 100644
--- a/doc/install.texi
+++ b/doc/install.texi
@@ -163,6 +163,36 @@ doesn't, you can use the @command{configure} options
 @address@hidden and @address@hidden to
 specify their locations.
 
address@hidden Particular Systems
address@hidden Particular Systems
+
+On HP-UX, the default C compiler is not ANSI C compatible.  If GNU CC is
+not installed, it is recommended to use the following options in order to
+use an ANSI C compiler:
+
address@hidden
+./configure CC="cc -Ae"
address@hidden example
+
address@hidden
+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 @code{<wchar.h>} header file.  The option @option{-nodtk} can be
+used as a workaround.  If GNU CC is not installed, it is therefore
+recommended to try
+
address@hidden
+./configure CC="cc"
address@hidden example
+
address@hidden
+and if that doesn't work, try
+
address@hidden
+./configure CC="cc -nodtk"
address@hidden example
+
 @node System Type
 @section Specifying the System Type
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]