This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Proposal
On Sat, Sep 29, 2001 at 08:08:11PM +0200, Frank Klemm wrote:
> >
> > Nonsense. Your filter program can simply sit between the preprocessor
> > and the compiler.
> >
> This do not work. Preprocessed files are not suitable for distribution.
>
> blafasel-KandR.tar.Z
> blafasel-C89.tar.gz
> blafasel-C99.tar.bz2
> blafasel-C_99.tar.bz2
>
> You write the source in C_99 and you also want to distribute the source as
> C99, so you can also compile the source with other binary only compilers.
You distribute the C_99 version of the code and include the filter
programs which translate it to C99/C89/K+R. You wire them into your
Makefile according to what your configure script determines are the
features of the compiler being used.
zw