automake-patches
[Top][All Lists]
Advanced

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

Re: automake/481: Add support for HPUX aCC to depcomp


From: Ralf Wildenhues
Subject: Re: automake/481: Add support for HPUX aCC to depcomp
Date: Wed, 26 Apr 2006 18:30:43 +0200
User-agent: Mutt/1.5.11

http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=automake&pr=481

I tested that myself now on hppa2.0w-hp-hpux11.11 with
| aCC: HP ANSI C++ B3910B A.03.65

and the "ia64hp" depmode seems to work fine.

* Olivier Fourdan wrote:
> I think the name "ia64hp" might be somehow confusing, don't you think
> so?

Yes, I agree.  So it seems it works with HP's ia64 C compilers, and with
HP's C++ compilers, right?  For lack of a better name, how about this
patch?

Cheers,
Ralf

        * lib/depcomp (ia64hp): Rename dependency style to..
        (hp2): ..this, as it works with aCC on HPPA, too; adjust
        comment.  Report by Olivier Fourdan <address@hidden>.

Index: lib/depcomp
===================================================================
RCS file: /cvs/automake/automake/lib/depcomp,v
retrieving revision 1.56
diff -u -r1.56 depcomp
--- lib/depcomp 5 Jan 2006 21:14:48 -0000       1.56
+++ lib/depcomp 26 Apr 2006 16:29:45 -0000
@@ -1,7 +1,7 @@
 #! /bin/sh
 # depcomp - compile a program generating dependencies as side-effects
 
-scriptversion=2006-01-05.21
+scriptversion=2006-04-26.18
 
 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
 # Foundation, Inc.
@@ -277,10 +277,10 @@
   rm -f "$tmpdepfile"
   ;;
 
-ia64hp)
-  # The "hp" stanza above does not work with HP's ia64 compilers,
-  # which have integrated preprocessors.  The correct option to use
-  # with these is +Maked; it writes dependencies to a file named
+hp2)
+  # The "hp" stanza above does not work with aCC (C++) and HP's ia64
+  # compilers, which have integrated preprocessors.  The correct option
+  # to use with these is +Maked; it writes dependencies to a file named
   # 'foo.d', which lands next to the object file, wherever that
   # happens to be.
   # Much of this is similar to the tru64 case; see comments there.




reply via email to

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