C Source code pre-processing

Michael Still mikal at stillhq.com
Tue Mar 26 11:51:16 EST 2002


On Tue, 26 Mar 2002, Burn Alting wrote:

> Does anyone know of a utility which will take a C source file and strip
> #if/#else/#endif directives, just leaving the source code dependant upon a
> set of defines.

In fact, having onw read the gcc man page...

gcc wibble.c -E will put preprocessed source on stdout.

Mikal

-- 

Michael Still (mikal at stillhq.com)     UMT+11hrs





More information about the linux mailing list