Recent

Author Topic: Fpcupdeluxe  (Read 514788 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1443
Re: Fpcupdeluxe
« Reply #1800 on: April 14, 2021, 07:20:46 am »
@gus.
I have seen the issue. And was able to reproduce. Help is on its way ...

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 501
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #1801 on: April 14, 2021, 07:34:23 am »
Hey DonAlfredo,

@gus.
I have seen the issue. And was able to reproduce. Help is on its way ...

Thank $deity that you're so quick on your feet ;)

Thanks, man, really appreciate it!!

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 501
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #1802 on: April 14, 2021, 08:06:30 am »
Hey DonAlfredo,

If you don't know, it doesn't matter. I'm just curious.

If I install the Ubuntu 64b on a Raspberry Pi 4, and not the 32b Raspbian, what should I use to cross-compile to it?

Like I said, no biggie if you don't know, but if you do, MANY thanks!!

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1443
Re: Fpcupdeluxe
« Reply #1803 on: April 14, 2021, 08:47:18 am »
I do not know if I understand you correct, but:
1: to cross-compile a binary that runs on RPi4 64b distro, you need to cross towards aarch64-linux.
2: to cross from RPi4 64b to RPi* 32b, you need to do a feature request.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 501
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #1804 on: April 14, 2021, 09:39:20 am »
Hey DonAlfredo,

I do not know if I understand you correct, but:

You are absolutely right I was rather ambiguous.
I should've mention that my question is based on the premise that I'm on Ubuntu 20.10 64b and I already have it set to do ARM 32b with cross-compile to arm-linux.

1: to cross-compile a binary that runs on RPi4 64b distro, you need to cross towards aarch64-linux.
2: to cross from RPi4 64b to RPi* 32b, you need to do a feature request.

So point 1. answers my question in it's entirety. Many, many thanks!!!

Looking at point 2., I have no special interest in doing so, but it's quite nice that you would consider this if ever someone feels the need for it.

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

Muso

  • Jr. Member
  • **
  • Posts: 90
Re: Fpcupdeluxe
« Reply #1805 on: April 14, 2021, 10:45:04 pm »
@DonAlfredo, have you seen my report in?: https://forum.lazarus.freepascal.org/index.php/topic,34645.msg401793.html#msg401793

A colleague of mine stumbled upon the same issue, so I am not the only one missing the online package manager  :-[

af0815

  • Hero Member
  • *****
  • Posts: 669
Re: Fpcupdeluxe
« Reply #1806 on: April 15, 2021, 06:26:05 am »
I think the question is more for the people of Lazarus. Why did they decide not to make OPM as a standard package. IMHO is this not related to fpcupdeluxe.

Alfred makes with fpcupdelux a very usefull tool, but this is a tool for the installation of Lazarus itself, not for the extra software. And remember, OPM is thirdparty, not a core of Lazarus (yet).

regards
Andreas

GetMem

  • Hero Member
  • *****
  • Posts: 4016
Re: Fpcupdeluxe
« Reply #1807 on: April 15, 2021, 07:03:17 am »
@af0815
Quote
I think the question is more for the people of Lazarus. Why did they decide not to make OPM as a standard package.
What do you mean? OPM is part of Lazarus since version 1.8. It's a standard package and it's installed by default since version 2.0.

Back in the early days(circa 2017), when OPM was still under heavy development, I asked @DonAlfredo to remove it from the package list(fpcupdeluxe), because sometime broke the installation and users were complaining. Later I forgot to add it again. The fact that OPM is not installed by default with fpcupdeluxe is may fault.

Quote
And remember, OPM is thirdparty, not a core of Lazarus (yet).
Is part of lazarus trunk since 2016.
« Last Edit: April 15, 2021, 07:27:34 am by GetMem »

af0815

  • Hero Member
  • *****
  • Posts: 669
Re: Fpcupdeluxe
« Reply #1808 on: April 15, 2021, 07:59:42 am »
A colleague of mine stumbled upon the same issue, so I am not the only one missing the online package manager  :-[
@GetMem - this was the question one post before.
And if it is default or not should not depend on fpcupdeluxe, it should depend on the Lazarus installation. If Lazarus install it by default it should installed by fpcupdeluxe. If it is not installed by default, it can be installed like all other packages by the user. 
regards
Andreas

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1443
Re: Fpcupdeluxe
« Reply #1809 on: April 15, 2021, 08:50:19 am »
OPM was added and later removed as @getmem remembers correct !
Do accommodate this, fpcupdeluxe featured a speedbutton for easy post-install of OPM. Lately, this OPM button has been removed in favor of a Wio and Pico speedbutton.
As OPM is very stable nowadays, and also a very usefull addition, it might be added as default again.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 501
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #1810 on: April 15, 2021, 09:48:13 am »
Hey DonAlfredo,

As OPM is very stable nowadays, and also a very usefull addition, it might be added as default again.

+1 !!!

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 501
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #1811 on: April 15, 2021, 10:51:10 am »
Hey DonAlfredo,

What's your opinion on issue #376 about the pre and post run scripts?

Thanks for any attention or even a reply!!

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1443
Re: Fpcupdeluxe
« Reply #1812 on: April 15, 2021, 10:59:30 am »
Regarding embedded.
Latest trunk with uf2 export and FreeRTOS for arm makes FPC really suited for easy embedded production ready products. See included pictures. A very basic datalogger display. Previously, this would have been done in c, now in pascal with FPC and Lazarus ! A breeze.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1443
Re: Fpcupdeluxe
« Reply #1813 on: April 15, 2021, 11:02:15 am »
To be honest, I am not in favor of this. Many requests have been done to be included in fpcupdeluxe, ranging from word processor features for the command output to fpcup(deluxe) for Android AppStore. However, I will look into this request more closely.

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 501
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #1814 on: April 15, 2021, 11:20:58 am »
Hey Trev,

To be honest, I am not in favor of this. Many requests have been done to be included in fpcupdeluxe, ranging from word processor features for the command output to fpcup(deluxe) for Android AppStore. However, I will look into this request more closely.

Thanks for the honest answer. I appreciate it.

Let me just add a bit of info.
What I'm asking for is a very simplified version of the Project Options->Compiler Commands(see in picture), Execute Before and Execute after.
Just 2 TEdits on the Setup+.
You run the script in TEdit1 before you start your run.
You run the script in TEdit2 after the run is complete and pass a param to signal success.
That's it. Just add 2 TEdits and a couple of RunCommand calls. And maybe 2 more options on the ini's :)

Cheers,
Gus
Lazarus 2.1.0(trunk) FPC 3.3.1(trunk) Ubuntu 20.10 64b Dark Theme
Lazarus 2.0.12(stable) FPC 3.2.0(stable) Ubuntu 20.10 64b Dark Theme
http://github.com/gcarreno

 

TinyPortal © 2005-2018