[EMAIL PROTECTED] wrote:

Please switch for Lazarus specific questions to the lazarus mailinglist.

I'm sorry. But, I am not sure it is a Lazarus issue. Please see below.

About your question, check Environment | Environment options. The tab
files contains all paths to your FPC directory.

Making sure they are correct didn't help.

It turns out that Lazarus wan't in the equation in the first place.

When I added the paths (that were rported to be missing, in the fpc.cfg
the whole thing started working.

Except that, now when I compile a new project, almost everything gets
re-compiled. I know it is somethhing to do ith the paths I have added
to fpc.cfg, but I have no idea which ones I should remove.

Here's the relevant part of modified fpc.cfg. Can someone help?

# searchpath for includefiles
# release them only if you know what you do
# because this could cause a rebuild of the runtime library
# if you tell them compiler/ide to build the project (FK)
#-FiC:\FreePascal-2.1.1/source/rtl/inc;C:\FreePascal-2.1.1/source/rtl/i386
-FiC:\FreePascal-2.1.1\lazarus\lcl
-FiC:\FreePascal-2.1.1\lazarus\lcl\include
-FiC:\FreePascal-2.1.1/lazarus/lcl/interfaces/win32
-FiC:\FreePascal-2.1.1\lazarus\lcl\widgetset\

# searchpath for objectfiles
#-FoC:\FreePascal-2.1.1/source/rtl/inc;C:\FreePascal-2.1.1/source/rtl/i386
-FoC:\FreePascal-2.1.1\lazarus\lcl
-FoC:\FreePascal-2.1.1\lazarus\lcl\include
-FoC:\FreePascal-2.1.1/lazarus/lcl/interfaces/win32
-FoC:\FreePascal-2.1.1\lazarus\lcl\widgetset\

# searchpath for units and other system dependent things
-FuC:\FreePascal-2.1.1/units/$FPCTARGET/
-FuC:\FreePascal-2.1.1/units/$FPCTARGET/*
-FuC:\FreePascal-2.1.1/units/$FPCTARGET/rtl
-FuC:\FreePascal-2.1.1\lazarus\lcl
-FuC:\FreePascal-2.1.1\lazarus\lcl\include
-FuC:\FreePascal-2.1.1/lazarus/lcl/interfaces/win32
-FuC:\FreePascal-2.1.1\lazarus\lcl\widgetset\
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to