Lazarus

Programming => Embedded => Operating Systems => Embedded - AVR => Topic started by: alberich on March 08, 2021, 11:58:27 am

Title: Installation
Post by: alberich 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 ...
Title: Re: Installation
Post by: MarkMLl 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
Title: Re: Installation
Post by: MiR 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

Title: Re: Installation
Post by: alberich 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)
???
Title: Re: Installation
Post by: DonAlfredo on March 08, 2021, 06:16:02 pm
Please try the i386 version first. Its recommended.
About the exception. That is very unfortunate.
Title: Re: Installation
Post by: alberich 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
Title: Re: Installation
Post by: winni 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
Title: Re: Installation
Post by: ASBzone 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?
Title: Re: Installation
Post by: alberich 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" !
Title: Re: Installation
Post by: DonAlfredo 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