www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/21/11:10:16

Date: Sun, 21 Sep 1997 18:04:04 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: firewind <firewind AT metroid DOT dyn DOT ml DOT org>
cc: djgpp AT delorie DOT com
Subject: Re: Calling C functions from assembly?
In-Reply-To: <5vuuhm$nf6@sjx-ixn4.ix.netcom.com>
Message-ID: <Pine.SUN.3.91.970921175836.10269B-100000@is>
MIME-Version: 1.0

On 19 Sep 1997, firewind wrote:

> \djgpp\src\libc\dpmi\api\d0300_z.s
> 
> All the DPMI API functions have similarly fun names. 'grep' is very useful
> here. :)

What you need is not `grep', but the ID-utils (v2gnu/idu32b.zip from the 
DJGPP archives).  After you run `mkid' once on the entire DJGPP source 
tree, it will print files which reference given identifiers MUCH faster 
than `grep'.  And since ID-utils only access their data-base, they don't 
actually need the sources, and you can zip them away, to conserve disk 
space (and use any of the available tools to look at a certain file after 
ID-utils tell you which one is that).

Apart from speed, ID-utils have an advantage of actually understanding 
some of the syntax of C, so they won't be fooled by keywords like `for' 
and `while' and other garbage.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019