Utility to Generate Conditional Compilation Source



Is there a utility that can generate source code that is actually compiled,
removing conditional compilation that is unused?

The compiler determines what it is compiling and it would be nice if it
could just produce a source file based on {$IFDEF}s.

This would sure make it easy to read and understand code libraries from 3rd
parties.

-Johnnie


.



Relevant Pages

  • Re: Linux X demo
    ... Compilation can involve up to four stages: preprocessing, ... C source code which should not be preprocessed. ... library to make an Objective-C program work. ...
    (alt.lang.asm)
  • Re: Forth 200X and the Hayes tester
    ... compilation can work with minimal changes to source code. ... the assumption that programmers could be confused. ... standard names for some routines) to handle it. ...
    (comp.lang.forth)
  • Re: pgm object/source comparison
    ... There may be plenty of reasons why compilation fails, ... ILE, like default activation groups, objects ... I moved the libraries, files and ... >>> seems fairly obvious that the source code in those two don't match ...
    (comp.sys.ibm.as400.misc)
  • RE: Create an .exe at runtime with .NET 2.0
    ... for an example how I can compile a new executable with the encrypted file ... Model that enables developers of programs that emit source code ... 'Dynamic Source Code Generation and Compilation' ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.general)
  • Re: The Case Against RosAsm (#6)
    ... I used to wonder why people split up their source code in various source ... > RosAsm Doesn't Do Libraries ... > compilation for other reasons than ...
    (alt.lang.asm)