Recent

Author Topic: Installation  (Read 4510 times)

alberich

  • New member
  • *
  • Posts: 9
Installation
« on: March 08, 2021, 11:58:27 am »
Why is there such a sophisticated, multi-steps procedure to get a working cross-compiler under Windows ? Why is there no readymade, complete setup.exe, like for GCBasic ?
Thanks for any answer ...

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Installation
« Reply #1 on: March 08, 2021, 12:02:54 pm »
Because you haven't contributed one.

Seriously: this is an open-source project with a limited number of developers, who do sterling work supporting multiple target CPUs and OSes. Since you haven't highlighted any specific problem it's obvious that the installation instructions are adequate, hence aren't going to get worked on.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

MiR

  • Full Member
  • ***
  • Posts: 246
Re: Installation
« Reply #2 on: March 08, 2021, 12:04:15 pm »
Take a look at fpcupdeluxe, latest version has made installing crosscompilers a whole lot easier...

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases

Instructions on how to use are here:

https://wiki.freepascal.org/ARM_Embedded_Tutorial_-_Installing_Lazarus_and_Free_Pascal

and in various other places.

Mi'R


alberich

  • New member
  • *
  • Posts: 9
Re: Installation
« Reply #3 on: March 08, 2021, 05:43:57 pm »
I downloaded fpcupdeluxe-x86_64-win64.exe (I use Win7 x64 pro), tried to start it ... and got first a warning from PandaAV. I validated the prog (I hope it's safe), started it, selected "embedded" in both colums, clicked on Lazarus only and saw :
fpcupdeluxe: Got an unexpected exception ... don't know what to do unfortunately.
If I click on FPC + Lazarus, the system crashes, all buttons become inactive, and I must kill via task manager !
Same issues if I start as Admin.
I attach the logfile (renamed as .txt)
???
« Last Edit: March 08, 2021, 05:50:38 pm by alberich »

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Installation
« Reply #4 on: March 08, 2021, 06:16:02 pm »
Please try the i386 version first. Its recommended.
About the exception. That is very unfortunate.

alberich

  • New member
  • *
  • Posts: 9
Re: Installation
« Reply #5 on: March 08, 2021, 10:35:29 pm »
It ran about 16 minutes, created a directory of more than 3G ... but finished with an error message !

 >:D

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: Installation
« Reply #6 on: March 08, 2021, 10:47:55 pm »
Hi!

Disable Panda AV and other AV software.

They are known to cause trouble while installation.

If everything is successful installed you can enable them again.
This is not only true for Lazarus/fpc but every software you install on Windows.
Painful experience.

Winni

ASBzone

  • Hero Member
  • *****
  • Posts: 678
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Installation
« Reply #7 on: March 09, 2021, 02:05:54 am »
It ran about 16 minutes, created a directory of more than 3G ... but finished with an error message !


And what was the error message?
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.2.7-ada7a90186 / FPC v3.2.3-706-gaadb53e72c
(Windows 64-bit install w/Win32 and Linux/Arm cross-compiles via FpcUpDeluxe on both instances)

My Systems: Windows 10/11 Pro x64 (Current)

alberich

  • New member
  • *
  • Posts: 9
Re: Installation
« Reply #8 on: March 10, 2021, 09:02:45 am »
Finally I succeeded after selecting "embedded-mir" for FPC, but with 3.5 G on disk it's a "gaseous plant" !

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Installation
« Reply #9 on: March 10, 2021, 09:52:06 am »
That is good news !
These 3.5G give you all you need for FPC and Lazarus. And libraries. And toolchains. And extra tools. All to be able to build your app from a 100% self-contained install.
Issues with fpcupdeluxe can be reported on Github.

 

TinyPortal © 2005-2018