Lazarus
Programming => Embedded => Operating Systems => Embedded - AVR => Topic started 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 ...
-
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
-
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
-
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)
???
-
Please try the i386 version first. Its recommended.
About the exception. That is very unfortunate.
-
It ran about 16 minutes, created a directory of more than 3G ... but finished with an error message !
>:D
-
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
-
It ran about 16 minutes, created a directory of more than 3G ... but finished with an error message !
And what was the error message?
-
Finally I succeeded after selecting "embedded-mir" for FPC, but with 3.5 G on disk it's a "gaseous plant" !
-
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.