[Lazarus] another laz-config question

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] another laz-config question

Martin Frb
If there is no config yet, how does lazarus find the installed fpc?

I have several version (under c:\fpc), and the IDE finds each of them
(runs compilertest).

How does it know?

Martin

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] another laz-config question

Mattias Gaertner

 

 

Martin <[hidden email]> hat am 31. März 2011 um 14:46 geschrieben:

> If there is no config yet, how does lazarus find the installed fpc?
>
> I have several version (under c:\fpc), and the IDE finds each of them
> (runs compilertest).

 

What compilertest do you mean?

 

 
> How does it know?


Mattias


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] another laz-config question

Martin Frb
On 31/03/2011 14:05, Mattias Gaertner wrote:

 

 

Martin [hidden email] hat am 31. März 2011 um 14:46 geschrieben:

> If there is no config yet, how does lazarus find the installed fpc?
>
> I have several version (under c:\fpc), and the IDE finds each of them
> (runs compilertest).

 

What compilertest do you mean?

 

 
> How does it know?


"C:\laz_configs\lazarus_latest\" is empty
"C:\lazarus_latest" contains the installation,

SetPrimaryConfigPath NewValue="C:\laz_configs\lazarus_latest" -> "C:\laz_configs\lazarus_latest"
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="C:\laz_configs\lazarus_latest\"
  SecondaryConfigPath="C:\lazarus_latest"
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults

NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files)

NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files)
TFPCTargetConfigCache.NeedsUpdate compiler file changed "C:\FPC\2.2.3\bin\i386-win32\fpc.exe" FileAge=964317186 StoredAge=0
TFPCTargetConfigCache.Update C:\FPC\2.2.3\bin\i386-win32\fpc.exe TargetOS= TargetCPU= CompilerOptions= ExtraOptions= PATH=C:\Windows\Microsoft.NET\Framework\v1.1.4322\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\MySQL\MySQL Server 6.0\bin;C:\laz_other\Qt\qt\bin;C:\Program Files\GTK2-Runtime\bin
RunTool C:\FPC\2.2.3\bin\i386-win32\fpc.exe -iTOTP
RunTool C:\FPC\2.2.3\bin\i386-win32\fpc.exe -va compilertest.pas
TFPCTargetConfigCache.Update: has changed
TFPCTargetConfigCache.NeedsUpdate compiler file changed "C:\FPC\fix2_2\bin\i386-win32\fpc.exe" FileAge=981668924 StoredAge=0

..... goes on / repeat for each fpc

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] another laz-config question

Mattias Gaertner

 

 


Martin <[hidden email]> hat am 31. März 2011 um 15:27 geschrieben:

On 31/03/2011 14:05, Mattias Gaertner wrote:

 

 

Martin [hidden email] hat am 31. März 2011 um 14:46 geschrieben:

> If there is no config yet, how does lazarus find the installed fpc?
>
> I have several version (under c:\fpc), and the IDE finds each of them
> (runs compilertest).

 

What compilertest do you mean?

 

 
> How does it know?


"C:\laz_configs\lazarus_latest\" is empty
"C:\lazarus_latest" contains the installation,

SetPrimaryConfigPath NewValue="C:\laz_configs\lazarus_latest" -> "C:\laz_configs\lazarus_latest"
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="C:\laz_configs\lazarus_latest\"
  SecondaryConfigPath="C:\lazarus_latest"
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
NOTE: codetools config file not found - using defaults

NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files)

 

>[...]


..... goes on / repeat for each fpc

 

When the compiler file name does not look correct the "Setup" dialog is started. The Setup dialog searches in many places and checks each candidate.

 

 

Mattias

 


--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus