[Top][All Lists]

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

dependency files not from stdout

From: Robert Boehne
Subject: dependency files not from stdout
Date: Fri, 22 Sep 2000 12:19:15 -0500

(accidently sent this to autoconf list, sorry!)
I am trying to add support for dependency files
that are not sent to standard out.  IBM's xl* compilers
create dependency information in a file "*.u" with the
-M option.  The output looks much like what SGI
compilers produce.  Since it is not sent to stdout,
the file would have to be copied to $tmpdepfile
and then edited with "tr" like the SGI ouput is.
Is it possible to do this in the current depmod framework?
(I think it is, but I'm not sure what the issues from
other scripts like libtool are)
How is $depmode set?

Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden
>From address@hidden Tue Sep 26 16:56:15 2000
Received: from ([]
        by with esmtp (Exim 3.16 #1 (Debian))
        id 13e1lv-0001gx-00
        for <address@hidden>; Tue, 26 Sep 2000 16:56:15 -0400
Received: from ( [])
        by (8.8.7-cygnus/8.8.7) with ESMTP id NAA04375;
        Tue, 26 Sep 2000 13:56:03 -0700 (PDT)
Received: (address@hidden) by (8.8.8+Sun/8.6.4) id NAA04845; 
Tue, 26 Sep 2000 13:56:03 -0700 (PDT)
Date: Tue, 26 Sep 2000 13:56:03 -0700 (PDT)
Message-Id: <address@hidden>
From: Tom Tromey <address@hidden>
To: Robert Boehne <address@hidden>
Cc: address@hidden, Tom Tromey <address@hidden>
Subject: Re: dependency files not from stdout
In-Reply-To: <address@hidden>
References: <address@hidden>
X-Zippy:  A can of ASPARAGUS, 73 pigeons, some LIVE ammo, and a FROZEN DAQUIRI!!
X-Attribution:  Tom
Sender: address@hidden
Errors-To: address@hidden
X-BeenThere: address@hidden
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:address@hidden>
List-Post: <mailto:address@hidden>
List-Subscribe: <>, 
List-Id: Discussion list for automake <>
List-Unsubscribe: <>, 

>>>>> "Robert" == Robert Boehne <address@hidden> writes:

Robert> How is $depmode set?

>> It is set externally before running depcomp.  The correct setting
>> for the compiler is determined by some autoconf magic.

Robert> Could you elaborate on this? or perhaps you could just point
Robert> me to the files?  I need to determine where and how this is
Robert> set.  I know what to do, I just can't find where to do it.  ;)

The code is in m4/depend.m4.
It works by looking at the "depcomp" script and figuring out all the
possible tags (it extracts them from the case statement with sed).
Then it tries each possible tag with the current compiler until it
finds the correct one.

Does this help?


reply via email to

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