On Tue, 17 Jul 2007 10:45:56 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:

> En/na Mattias Gaertner ha escrit:
> > On Tue, 17 Jul 2007 09:38:15 +0200
> > Luca Olivetti <[EMAIL PROTECTED]> wrote:
> > 
> >> En/na Mattias Gaertner ha escrit:
> >>
> >>> Your "SearchPath" only contains the default paths:
> >>> <SearchPath
> >>> Value="/home/luca/.lazarus/;/usr/lib/fpc/2.0.4/units/i386-linux/rtl/;/usr/lib/fpc/2.0.4/;"/>
> >>>
> >>> That means your fpc config is broken.
> >>> It should contain lines like:
> >>>
> >>> -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
> >>> -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
> >>> -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
> >> The fact is, these lines are already there, in fact the project
> >> builds and works fine.
> > 
> > Weird. But at least a step further.
> > Ok, please try
> > 
> > touch empty.pas
> > ppc386 -va empty.pas
> > 
> > Can you send me or publish the output?
> 
> Aaaaaaagh, I knew I did something stupid: there was an fpc.cfg file
> in my home directory (a remnant of a test I did with fpc 2.1.4) and
> this was the file fpc was reading, not /etc/fpc.cfg.
> I still don't understand how it could possibly build the project
> (taking units from 2.1.4 instead of 2.0.4?)

Me too.


> but now that I removed
> the rogue fpc.cfg everything is ok.
> Thank you for your patience and sorry for all the noise.

I added a check to the compiler test.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to