Recent

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

julkas

  • Sr. Member
  • ****
  • Posts: 383
  • KISS principle / Lazarus 2.0.0 / 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?
Thanks.
« Last Edit: September 03, 2019, 11:19:16 am by julkas »
procedure mulu64(a, b: QWORD; out clo, chi: QWORD); assembler;
asm
  mov rax, a
  mov rdx, b
  mul rdx
  mov [clo], rax
  mov [chi], rdx
end;

lucamar

  • Hero Member
  • *****
  • Posts: 2025
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 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 8967
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.
Most people that want to use threading should learn to patch their jeans first: use a needle.