Next: Comments(Cback) Up: Cback Top: Top

5.5.1. Introduction

cback is a fast, rule driven, C to C translator that in addition to producing C code that is easy to read and understand, CAREFULLY eliminates unreferenced declarations, unreferenced static functions, redundant assignments to vptr and performs many other cfront specific cleanups. Each of cback's rules can be turned on or off to suit a variety of different needs.

cback does a thorough job of simplifying cfront's complicated statements and expressions. Even complex cfront output that your local C compiler might reject, will compile without fault. cback's output is maintainable and will readily cross compile to systems that currently do not support C++. cback typically eliminates 70% of cfront's C code output.

While debugging, cback will shrink the overall size of a typical application by 40%. Thus during development your binary files as well as link and debugger load times will be substantially smaller and faster. When compiling with optimization, cback can also produce significant code size reductions.

cback will fit seamlessly into your compiling and debugging environment. Our supplied shell script will call both cfront and cback and will work with your current make files. In addition, cback will recreate appropriate line numbers and for Sun's cfront it will filter .stab statements for use with dbx.