Forum > Windows
Win Path to FPC
(1/1)
dbannon:
I recently had occasion to build trunk Lazarus on a Windows box. This wiki page https://wiki.freepascal.org/Installing_Lazarus_on_Windows tells me to do this (eg) -
--- Code: ---set path=c:\freepascal\bin\x86_64-win64
make bigide
--- End code ---
However, I found that did not change the path to the desired value. I found doing this worked -
--- Code: ---$env:PATH="c:\freepascal\bin\x86_64-win64"
make bigide
--- End code ---
Now, I was using Powershell on Win10 and I am particularly (and deliberately) ignorant of windows. So I am reluctant to edit the wiki page unless you Windows people confirm my experience.
So, confirm away please .....
Davo
marcov:
Most wiki will be for cmd.exe, which was the default Windows NT shell for 25 years.
dbannon:
Yep, and maybe a batch file still uses cmd.exe even under Powershell ?
I just noticed, while fixing some other things that the instructions that mislead me do mention making a batch file. Seems an unnecessary complication to me ...
Davo
Navigation
[0] Message Index