This is the mail archive of the automake-prs@sourceware.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


The following reply was made to PR automake/481; it has been noted by GNATS.

From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: automake-gnats@sources.redhat.com,
	stephane.pion@aviation-civile.gouv.fr,
	olivier.fourdan@regis-dgac.net
Cc: automake-patches@gnu.org
Subject: Re: automake/481: Add support for HPUX aCC to depcomp
Date: Wed, 26 Apr 2006 18:30:43 +0200

 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 <fourdan@cena.fr>.
 
 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.


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