[fpc-pascal] Compiling from and to memory

waldo kitty wkitty42 at windstream.net
Sat Apr 21 02:22:19 CEST 2012

On 4/19/2012 08:11, OBones wrote:
> Hello all,
> I'm currently creating a build chain where FPC is the last step, the one
> producing a DLL for Windows, x86 and x64.
> In front of it in the chain, I have designed a generator that creates a program
> and a set of units from its own representation.
> Right now, the program and units are written to disk and then FPC is called on
> those files.
> This works fine but is somewhat slow because of disk writing and reading.
> I was thus wondering if there was a way to send the program and unit contents
> directly to FPC without writing to disk, and then get FPC to output the final
> DLL to a memory location as well.

i'm old school so please forgive this if is is "out of bounds"... but... how 
about a RAM disk? do the compiling on that and then copy off to physical media 
when completed?

More information about the fpc-pascal mailing list