From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Weinberg To: Frank Klemm Cc: gcc@gcc.gnu.org Subject: Re: Proposal Date: Sun, 30 Sep 2001 09:35:00 -0000 Message-id: <20010930093000.G442@codesourcery.com> References: <200109151841.UAA04064@fuchs.offl.uni-jena.de> <20010917235928.A11347@daikokuya.demon.co.uk> <20010918021527.A14623@fuchs.offl.uni-jena.de> <20010927160755.D330@fuchs.offl.uni-jena.de> <20010927162209.M442@codesourcery.com> <20010929200811.D1290@fuchs.offl.uni-jena.de> X-SW-Source: 2001-09/msg01252.html 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