[fpc-pascal]The state of FPC - wrap up

Michael Van Canneyt michael.vancanneyt at wisa.be
Fri Jul 25 13:24:39 CEST 2003


On Fri, 25 Jul 2003, Matt Emson wrote:

> > If someone contributes a tool which does the necessary preprocessing
> > i.e. including needed files, then I will set up a system where the
> > source files are 'assembled' into single-source units for a given
> > platform/cpu combination. These single-source units can be distributed
> > with each platform or separately downloaded.
>
> This was all I ever really wanted to be honest.
>
> > This tool can be run on a daily basis on our CVS server, and zips can be
> > made available as a service to the FPC users.
>
> Cool, that sounds like a good idea.
>
> > As for the tool, I ask only 3 things:
> > 1. It should compile with FPC and should be cross-platform.
> > 2. Should obey {$ifdefs}/{$define} and the like, such as
> >    run-time platform selection.
> >    (linux based tool must generate sources for e.g. win32)
> > 3. As for the rest, it would be good to have the command-line options
> >    which match the compiler's:
> >    -d define symbol
> >    -u undefine symbol
> >    -I/-Fi set include path
> >    -T select target os/cpu
> >    -FE set output name.
> >
> > If someone makes this tool, I will do the rest.
>
>
> I will look at it. I will initially write it in Delphi, simply because that
> is to hand, but will get it to compile under FPC 1.1x when I have got it to
> work here.
>
> One question, do you want a recursive batch job, or single file operation.

Single file operation: name of a input unit file, name of output file.
(plus command-line options for where to find include files, and defines)

Michael.





More information about the fpc-pascal mailing list