On Sun, 1 Oct 2006, Alex Smirnov wrote:
> Vincent Snijders
> > Try passing the -Cn parameter to the command line, it stops compiling
> > just before the linker starts, but after the compiler has done all it
> > files searches. See how much time that takes. Also see how much times
> > it takes, without printing all the filenames in the messages view.
> >
> > Vincent
>
> *Ok. *
> The result is 66.4 seconds. So the linking time is for ~45 seconds.
>
> Ones more - is it possible to add some standard order of the search path
> lines?
The paths are searched in the order that they are supplied on the
command-line.
> So I think first is to look into Free Pascal PPU directory. Searching
> *.ppu there.
> Next is to look into $(LazarusDir)\lcl\units\$(TargetCPU)-$(TargetOS).
> Searching for *.ppu there.
> And next to search for source code (like *.pas/*.pp) files.
>
> Also - what is the problem to search for *.pas and next to *.PAS file?
> Is it possible to make case insensitive search? It was really a surprise
> for me to see DIFFERENT search requests for *.pas and *.PAS files!
Unfortunately, this must be done. Linux is case sensitive.
Although on Windows/Dos/OS2, the compiler could skip this. I don't know whether
the compiler uses the CaseSensitiveFilenames constant in the system unit ?
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives