Sign in Join

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

Mailing lists / lazarus / 2012-05

FPCDefines.xml: RealCompiler InPath

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Reinier Olislagers

Hi list,

Was looking at what changed in the post 1.0 configs to see if fpcup needs to be adjusted.

Ran fpcup with empty primary config path dir to get and let fpcup setup Lazarus trunk, then ran Lazarus and converted to new format.

Noticed this difference in fpcdefines.xml:
directly after fpcup ran:
<RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" Date="1085035464" OS="win32" CPU="i386"
InPath="C:\development\fpc\bin\i386-win32\ppc386.exe" FullVersion="2.6.1"/> after conversion:
<RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" Date="1085035464" OS="win32" CPU="i386"
InPath="C:\development\fpcbootstrap\ppc386.exe" FullVersion="2.6.1"/>

The InPath location is different.
Note that c:\development\fpcbootstrap is in my path and contains ppc386.exe c:\development\fpc\bin\i386-win32 is not in my path.

Questions:
1. Should I be worried about this ;)
2. What does InPath mean?

Thanks,
Reinier

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 25 lines
Hi list, Was looking at what changed in the post 1.0 configs to see if fpcup needs to be adjusted. Ran fpcup with empty primary config path dir to get and let fpcup setup Lazarus trunk, then ran Lazarus and converted to new format. Noticed this difference in fpcdefines.xml: directly after fpcup ran: <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" Date="1085035464" OS="win32" CPU="i386" InPath="C:\development\fpc\bin\i386-win32\ppc386.exe" FullVersion="2.6.1"/> after conversion: <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" Date="1085035464" OS="win32" CPU="i386" InPath="C:\development\fpcbootstrap\ppc386.exe" FullVersion="2.6.1"/> The InPath location is different. Note that c:\development\fpcbootstrap is in my path and contains ppc386.exe c:\development\fpc\bin\i386-win32 is not in my path. Questions: 1. Should I be worried about this ;) 2. What does InPath mean?

The InPath is the ppc executable in PATH (the environment variable). It is used by the fpc executable, which is normally used. If this changes the IDE asks the compiler for its settings.

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote 19 lines
On Sat, 12 May 2012 11:13:16 +0200 Reinier Olislagers wrote: > <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" > Date="1085035464" OS="win32" CPU="i386" > InPath="C:\development\fpc\bin\i386-win32\ppc386.exe" FullVersion="2.6.1"/> > after conversion: > <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" > Date="1085035464" OS="win32" CPU="i386" > InPath="C:\development\fpcbootstrap\ppc386.exe" FullVersion="2.6.1"/> > > The InPath location is different. > Note that c:\development\fpcbootstrap is in my path and contains ppc386.exe > c:\development\fpc\bin\i386-win32 is not in my path. > > Questions: > 2. What does InPath mean? The InPath is the ppc executable in PATH (the environment variable). It is used by the fpc executable, which is normally used.

Huh? So the fpc.exe in a different directory outside the path uses a ppc exe in the path???

Shouldn't fpc.exe look for e.g. ppc386.exe in its own directory?

Or do I misunderstand you?

Thanks,
Reinier

Reply by email

Mattias Gaertner
to Reinier Olislagers
Show quoted text 22 lines
On 13-5-2012 9:28, Mattias Gaertner wrote: > On Sat, 12 May 2012 11:13:16 +0200 > Reinier Olislagers wrote: >> <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" >> Date="1085035464" OS="win32" CPU="i386" >> InPath="C:\development\fpc\bin\i386-win32\ppc386.exe" FullVersion="2.6.1"/> >> after conversion: >> <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" >> Date="1085035464" OS="win32" CPU="i386" >> InPath="C:\development\fpcbootstrap\ppc386.exe" FullVersion="2.6.1"/> >> >> The InPath location is different. >> Note that c:\development\fpcbootstrap is in my path and contains ppc386.exe >> c:\development\fpc\bin\i386-win32 is not in my path. >> >> Questions: >> 2. What does InPath mean? > > The InPath is the ppc executable in PATH (the environment variable). > It is used by the fpc executable, which is normally used. Huh? So the fpc.exe in a different directory outside the path uses a ppc exe in the path???

Yes.

Shouldn't fpc.exe look for e.g. ppc386.exe in its own directory?

First it searches in the -XP, then it its own directory and finally in PATH.

I fixed the search order in the codetools.

Or do I misunderstand you?

Mattias

Reply by email

Reinier Olislagers
to Mattias Gaertner
Mattias Gaertner wrote 36 lines
On Sun, 13 May 2012 10:18:37 +0200 Reinier Olislagers wrote: > On 13-5-2012 9:28, Mattias Gaertner wrote: >> On Sat, 12 May 2012 11:13:16 +0200 >> Reinier Olislagers wrote: >>> <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" >>> Date="1085035464" OS="win32" CPU="i386" >>> InPath="C:\development\fpc\bin\i386-win32\ppc386.exe" FullVersion="2.6.1"/> >>> after conversion: >>> <RealCompiler File="C:\development\fpc\bin\i386-win32\ppc386.exe" >>> Date="1085035464" OS="win32" CPU="i386" >>> InPath="C:\development\fpcbootstrap\ppc386.exe" FullVersion="2.6.1"/> >>> >>> The InPath location is different. >>> Note that c:\development\fpcbootstrap is in my path and contains ppc386.exe >>> c:\development\fpc\bin\i386-win32 is not in my path. >>> >>> Questions: >>> 2. What does InPath mean? >> >> The InPath is the ppc executable in PATH (the environment variable). >> It is used by the fpc executable, which is normally used. > Huh? So the fpc.exe in a different directory outside the path uses a ppc > exe in the path??? Yes. > Shouldn't fpc.exe look for e.g. ppc386.exe in its own directory? First it searches in the -XP, then it its own directory and finally in PATH. I fixed the search order in the codetools.

Ok, fair enough, thanks!

Reply by email