Recent

Author Topic: Win Path to FPC  (Read 2254 times)

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Win Path to FPC
« on: June 16, 2021, 10:51:02 am »
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: [Select]
set path=c:\freepascal\bin\x86_64-win64
make bigide

However, I found that did not change the path to the desired value.  I found doing this worked -

Code: [Select]
$env:PATH="c:\freepascal\bin\x86_64-win64"
make bigide

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
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • FPC developer.
Re: Win Path to FPC
« Reply #1 on: June 16, 2021, 11:00:11 am »
Most wiki will be for cmd.exe, which was the default Windows NT shell for 25 years.

dbannon

  • Hero Member
  • *****
  • Posts: 2786
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Win Path to FPC
« Reply #2 on: June 16, 2021, 11:27:44 am »
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
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

 

TinyPortal © 2005-2018