Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-03

another laz-config question

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

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

Reply by email

Mattias Gaertner
to Martin

?
?

Martin 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110331/bd923ce4/attachment.html>

Reply by email

Martin
to Mattias Gaertner
Mattias Gaertner wrote 13 lines
Martin 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110331/73564a35/attachment.html>

Reply by email

Mattias Gaertner
to Martin

?
?

Martin hat am 31. M?rz 2011 um 15:27 geschrieben:

Show quoted text 33 lines
On 31/03/2011 14:05, Mattias Gaertner wrote: > ? > ? > > Martin [mailto:] 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
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110331/325dda84/attachment.html>

Reply by email