Recent

Author Topic: [SOLVED] Windows FPC console mode  (Read 961 times)

julkas

  • Guest
[SOLVED] Windows FPC console mode
« on: August 11, 2019, 03:01:17 pm »
How install FPC console mode IDE on Windows?
Thanks.
« Last Edit: September 03, 2019, 11:19:16 am by julkas »

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Windows FPC console mode
« Reply #1 on: August 11, 2019, 03:05:34 pm »
Download the Windows installer and execute? Or do you mean some other thing?

Oh, the IDE. Just a minute while I check something ... Done. I guess you have Lazarus installed but want also the FP IDE?

The easiest way is, effectively downloading the Windows installer and executing, though that may make an FPC-only installation that, if added to the path, may interfere with Lazarus.

Another option is to download the sources, unpack in the lazarus/fpc/{version}/sources and build the IDE using the Lazarus-installed compiler. It shouldn't be difficult: IIRC, there is a makefile in the ide source folder which builds just the ide, though you may have to tweak it a bit to adapt it to your instalation.

HTH
« Last Edit: August 11, 2019, 03:17:47 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 14368
  • Sensorship about opinions does not belong here.
Re: Windows FPC console mode
« Reply #2 on: August 11, 2019, 05:40:06 pm »
Just type fp.exe at a command prompt. If your install is correct (should examine the path) that should work.
You may have to add the location to the path environment variable.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

 

TinyPortal © 2005-2018