[fpc-pascal]Error Compiling Examples with 1.9.2 (Stupid Newbie Question)

Marco van de Voort marcov at stack.nl
Thu Jan 22 15:18:52 CET 2004


> On Thu, 2004-01-22 at 05:17, Marco van de Voort wrote:
> > > I was trying to compile the sqlite example with the new 1.9.2 version of
> > > FPC and got the following error.  Don't know exactly what it means.  I
> > > am running Gentoo Linux on a AMD Athlon and installed FPC 1.9.2 using
> > > the beta release.  Lazarus compiles fine.

> 
> > Do not compile files in build directories, and don't include build
> > directories in your search path.
> 
> Sorry, could you explain this one? I did make where the source and
> makefile was; in the /usr/local/src/packages/base/sqlite .  Is there a
> way to invoke it elsewhere?

> I added -Fi/usr/local/src/fpc-1.9.2/rtl/* to the searchpath in fpc.cfg
> so it wouldnt complain about finding sysunixh.inc

It should remake the rtl at all. Simples maybe is to temporarily rename
/usr/local/src/fpc-1.9.2/rtl/ to .../rtl2

The FPC makefiles actively search for the RTL root directory when compiling
in the tree, and some change in defines or dates might cause them to
recompile.

You can guard against this by compiling your snapshot with RELEASE=1, which
adds a parameter to the buildprocess that signals "never rebuild this" (parameter -Ur)




More information about the fpc-pascal mailing list