Recent

Author Topic: [SOLVED] FreePascal IDE on MS Windows 10...  (Read 1579 times)

GypsyPrince

  • Guest
[SOLVED] FreePascal IDE on MS Windows 10...
« on: March 25, 2020, 11:24:32 pm »
Purely for nostalgic reasons...

Can anyone inform me as to whether the FP distro that comes with Lazarus might also contain Free Pascal's DOS-like IDE?

I've seen images of it on Google searches and it makes me a bit reminiscent of the old days using Q-Basic, MASM, Turbo C/C++, etc.

I can download and install FP to get it if necessary. I was just wondering if Lazarus already came with it.
« Last Edit: April 08, 2020, 01:39:05 am by GypsyPrince »

Handoko

  • Hero Member
  • *****
  • Posts: 3547
  • My goal: build my own game engine using Lazarus
Re: FreePascal IDE...
« Reply #1 on: March 25, 2020, 11:49:49 pm »
The Lazarus installation package for Linux downloaded SourceForge always provides FP - the classic text-based non-GUI DOS-like editor.

Leledumbo

  • Hero Member
  • *****
  • Posts: 8223
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FreePascal IDE...
« Reply #2 on: March 26, 2020, 05:53:18 am »
Purely for nostalgic reasons...

Can anyone inform me as to whether the FP distro that comes with Lazarus might also contain Free Pascal's DOS-like IDE?

I've seen images of it on Google searches and it makes me a bit reminiscent of the old days using Q-Basic, MASM, Turbo C/C++, etc.

I can download and install FP to get it if necessary. I was just wondering if Lazarus already came with it.
Except the installer for Windows, AFAIK all other platforms are shipped with it.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1118
    • formatio reticularis
Re: FreePascal IDE...
« Reply #3 on: March 26, 2020, 07:55:38 am »
Except the installer for Windows, AFAIK all other platforms are shipped with it.
For macOS it isn't, but it can be installed.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.8 | FPC 3.0.4 | PPC, Intel, ARM | macOS, Windows, Linux

julkas

  • Hero Member
  • *****
  • Posts: 604
  • KISS principle / Lazarus 2.0.6 / FPC 3.0.4
Re: FreePascal IDE...
« Reply #4 on: March 26, 2020, 08:36:47 am »
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;

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8491
  • FPC developer.
Re: FreePascal IDE...
« Reply #5 on: March 26, 2020, 09:51:49 am »
Maybe this is going to change in the FPC 3.2 era because the textmode IDE now can use an external debugger, making it less of a pain to build. (or at least build with a debugger inside, many 3rd party builds don't)

dbannon

  • Hero Member
  • *****
  • Posts: 1072
    • tomboy-ng, a rewrite of the classic Tomboy
Re: FreePascal IDE...
« Reply #6 on: March 26, 2020, 11:37:28 am »
Wow, it is there too. Start it with -
fp <enter>

Spent many hours in front of the original.  Only down side of the FPC one is the color scheme, quite unusable on my machine. Cannot see how to change the colors sadly ...

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

Fred vS

  • Hero Member
  • *****
  • Posts: 1760
    • StrumPract is the musicians best friend
Re: FreePascal IDE on MS Windows 10...
« Reply #7 on: April 07, 2020, 07:42:18 pm »
The source of Free Pascal IDE is in fpc source (not Lazarus source), here:

Code: Pascal  [Select][+][-]
  1. /fpc_src/packages/ide/fp.pas

https://sourceforge.net/projects/freepascal/files/Source/3.0.4/
« Last Edit: April 07, 2020, 08:21:22 pm by Fred vS »
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs

GypsyPrince

  • Guest
Re: FreePascal IDE on MS Windows 10...
« Reply #8 on: April 07, 2020, 08:28:34 pm »
Where can I find instructions for compiling the IDE app?

- list of required files?
- main project file?
- etc.

I get numerous errors when I try to compile.
« Last Edit: April 07, 2020, 09:50:38 pm by GypsyPrince »

mercurhyo

  • Full Member
  • ***
  • Posts: 177
Re: FreePascal IDE on MS Windows 10...
« Reply #9 on: April 08, 2020, 01:08:38 am »
1) get fpc sources
2) get gnu binutils and a fpc compiler binary as bootstrap compiler
3) open a command box
4) go to the folder of fpc sources ("CD c:\fpcsrc" for example)
5) call the make utility from the binutils folder (c:\binutils\make install)

normaly the FP ide package is built during process and the FP.EXE program is created that is the text FreeVision IDE

-----
Alternatively use fpcupdeluxe tool ... it automates and simplify the above tasks in one click
« Last Edit: April 08, 2020, 01:18:14 am by mercurhyo »
DEO MERCHVRIO - Linux Mint latest, Windows 7 - Laz latest fixes- RAD Studio XE7
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

GypsyPrince

  • Guest
Re: FreePascal IDE on MS Windows 10...
« Reply #10 on: April 08, 2020, 01:17:49 am »
@mercurhyo

Thank you for you assistance.

However, I'm still getting errors. I'm just going to close this topic because the IDE is really just for nostalgic purposes and is no longer worth the headache of sorting it out.

mercurhyo

  • Full Member
  • ***
  • Posts: 177
Re: FreePascal IDE on MS Windows 10...
« Reply #11 on: April 08, 2020, 01:18:56 am »
get fpcupdeluxe, use it, and relax while watching the build process  ;)
DEO MERCHVRIO - Linux Mint latest, Windows 7 - Laz latest fixes- RAD Studio XE7
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

mercurhyo

  • Full Member
  • ***
  • Posts: 177
Re: [CLOSED - UNRESOLVED] FreePascal IDE on MS Windows 10...
« Reply #12 on: April 08, 2020, 01:21:39 am »
text ide is not only for nostaly, I know 2 friends using it to command robots in their factories.. Robots and insustrial machines don't care about whindoz :D memory eater
« Last Edit: April 08, 2020, 01:23:19 am by mercurhyo »
DEO MERCHVRIO - Linux Mint latest, Windows 7 - Laz latest fixes- RAD Studio XE7
god of financial gain, commerce, eloquence (and thus poetry), messages, communication (including divination), travelers, boundaries, luck, trickery and thieves; he also serves as the guide of souls to the underworld

GypsyPrince

  • Guest
Re: [CLOSED - UNRESOLVED] FreePascal IDE on MS Windows 10...
« Reply #13 on: April 08, 2020, 01:38:48 am »
@mercurhyo

Quote
text ide is not only for nostaly, I know 2 friends using it to command robots in their factories.. Robots and insustrial machines don't care about whindoz :D memory eater

LOL Sorry about that.

I meant it was nostalgic only for my purposes.

I installed Free Pascal in addition to Lazarus. I added the fp bin folder to my system path, restarted, and it compiled okay. It's working now. I guess the fp compiler that came with Lazarus didn't want to do it.

GypsyPrince

  • Guest
Re: [SOLVED] FreePascal IDE on MS Windows 10...
« Reply #14 on: April 08, 2020, 02:33:04 am »
@mercurhyo

Quote
get fpcupdeluxe, use it, and relax while watching the build process  ;)

Okee dokee. I ran it and it installed Lazarus and Free Pascal on my system. I copied the original installations to a new folder name, though.

Do these new installations have advanced features? Or, just corrected configurations?

 

TinyPortal © 2005-2018