2006/6/7, Mattias Gaertner <[EMAIL PROTECTED]>:
On Wed, 7 Jun 2006 13:54:56 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
>[...]
> > The IDE searches .pp/.pas files in the FPC sources, so you should never
> > need to add the paths yourself.
> > You can force a search with Environment -> Rescan FPC source directory
> >
> > If you add the -Fu option for .pp files in the FPC sources, it can
> > happen, that the compiler will rebuild some units. Always try to avoid
> > that.
>
> It is in: fpcsrc/inc/
> Is it supposed to recurse sub folders?
Yes. It first searches all *.ppu files in the fpc/2.0.2/units/ directory.
Then it searches all corresponding .pp/.pas files in the fpc sources.
> Even if I try that, this is not working. I must add
> -Fu$(LazarusDir)\fpcsrc\fcl\inc\ in Project -> Compiler Options
In fpc 2.0.2 the streamio.ppu is not installed. So, the IDE can not find it.
Where is your streamio.ppu?
Nowhere (cant' find it). I have a custom fpc compiler from svn. I did
the following under windows (I exported the svn source to
/lazarus/fpcsrc):
cd c:\lazarus\fpcsrc
make all
make install INSTALL_PREFIX=c:\lazarus\pp
make clean
Then I setted up the compiler cfg files and so, and using this
compiler I compiled lazarus. Now I guess, the /inc folder did not get
compiled... Maybe "make all" is not enought?
In lazarus, I configured the environment to use the custom compiler.
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives