[fpc-pascal] Unit output directory

Graeme Geldenhuys graemeg.lists at gmail.com
Thu Aug 30 14:11:25 CEST 2007


On 30/08/2007, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>
> I guess you mean -FU...

Ah yes. That's what I meant.

> > How can I force the compiler to create the output directory if it
> > doesn't exist?  Is there another parameter for that?
>
> No, the compiler does not create directories, only files. Creating
> such directories is the job of whoever (user)/whatever (IDE,
> Makefile) calls the compiler.

Ummm... damn.  I was hoping to get away from Makefile's (for CLI
users) and instead use a custom extrafpc.cfg file in each of the
important directories.  I guess it's back to reading the manual on
Makefile.fpc and fpcmake.

Thanks to everybody who replied....

Graeme.



More information about the fpc-pascal mailing list