This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc/f/malloc.h and HP-UX 10.20

On Thu, May 24, 2001 at 07:59:25PM -0400, John David Anglin wrote:
> > Isn't that too subtle a fix? Even if the timestamps are updated,
> > building f/ansify.c with $(HOST_CC) is still wrong. So, you'd simply
> > be masking the problem.
> There isn't really a choice.  You can't use the gcc target because it
> may not run on the host.  The intdoc application has to run on
> the host and you need an ANSI compiler to build it.  I have a patch
> that will allow building ansify with a non ANSI compiler but this
> is only the first step in generating the documentation.  The situation
> really isn't much different than that for bison, autoconf, etc.
> Possibly, f/intdoc.texi should be in the list of files that
> contrib/gcc_update touches.

Ok, the following patch worked for me.

albert chin (

-- snip snip
2001-05-24  Albert Chin-A-Young  <>

	* contrib/gcc_update: Fix timestamp on gcc/f/intdoc.texi
	so it doesn't force gcc/f/ansify.c to be rebuilt which
	would require the host compiler to be ANSI. Credit to
	J. David Anglin <> for the fix.

--- contrib/gcc_update	2001/05/18 07:47:33
+++ contrib/gcc_update	2001/05/25 03:48:42
@@ -70,7 +70,7 @@ gcc/gcov.1: gcc/gcov.texi
 gcc/cpp.1: gcc/cpp.texi
 gcc/gcc.1: gcc/invoke.texi
 # And then, language-specific files
-# (None at present.)
+gcc/f/intdoc.texi: gcc/f/ gcc/f/intdoc.c gcc/f/intrin.h gcc/f/intrin.def
 # And libraries, at last
 libchill/configure: libchill/
 libf2c/configure: libf2c/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]