[Omake] Re: preprocessor for computing dependencies

Bárður Árantsson spam at scientician.net
Wed Sep 13 11:40:26 PDT 2006


Jason Hickey wrote:
> Thomas Nagy wrote:
>> Hello,
>>
>> I think you might be interested by some preprocessor
>> code for computing dependencies in c files:
>> http://freehackers.org/~tnagy/preproc.py
>>
>> It is in python and it does not handle functions
>> (yet), but it should be translatable in caml easily.
> 
> Thanks!  Currently, omake is using gcc -M when possible, but it turns 
> out that, for example, Visual C++ 6.0 has no similar option.  I guess 
> people are supposed to use Visual Studio when compiling on Windows.  The 
> way we get it to work is by calling the preprocessor, then grepping for 
> the #line numbers, which is very slow.  This code may indeed help out.

I think VC+6.0 has basically been obsoleted by the free VC++ which 
Microsoft released some time ago. I'm not really interested in the 
Windows platform, but I *think* this is it:

   http://msdn.microsoft.com/vstudio/express/visualC/default.aspx

It *may* have an option for doing dependency analysis.

-- 
Bardur Arantsson
<bardurREMOVE at THISscientician.net>

- And the best part? I didn't learn a thing.



More information about the Omake mailing list