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


  • Hero Member
  • *****
  • Posts: 520
  • KISS principle / Lazarus 2.0.6 / FPC 3.0.4
[SOLVED] Windows FPC console mode
« on: August 11, 2019, 03:01:17 pm »
How install FPC console mode IDE on Windows?
« Last Edit: September 03, 2019, 11:19:16 am by julkas »
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx


  • Hero Member
  • *****
  • Posts: 2264
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.

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


  • Hero Member
  • *****
  • Posts: 9419
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.
also related to equus asinus.