AROS Exec

Support => Free Pascal => Topic started by: Timelord on December 23, 2018, 03:47:43 PM

Title: Lazarus?
Post by: Timelord on December 23, 2018, 03:47:43 PM
I'm asking this out of sheer curiosityL Is there a port of Laz to AROS?

It's one of the best IDEs out there for FPC-- fast, and user-friendly. If it exists, I haven't seen it mentioned on the Lazarus forums, and you may want to mention it there; but I could easily have missed it.
Title: Re: Lazarus?
Post by: magorium on December 25, 2018, 12:16:08 AM
Quote
I'm asking this out of sheer curiosityL Is there a port of Laz to AROS?
Officially ? nope.

I theory you can compile Lazarus for AROS/Amiga but for the latter it is very resource hungry (and i doubt any expanded Amiga is up for the job, although vampiring your Amiga might be able to do the trick).

(please do not try to compile Lazarus native on Amiga/AROS as the specs for natively doing so are out of reach for most native configurations. More on cross-compiling can be found here (https://blog.alb42.de/2016/05/16/virtual-lazarus-v2) in case you wish to know more)

Here (https://blog.alb42.de/2015/04/25/more-lazarus) you can read a bit more about Lazarus for our Platforms, and the status is more or less the same (although since that post ALB42 made many improvements). The sad is that standard MUI really hasn't enough counterparts to be able to re-implement all LCL controls and thus requires a huge amount of work (mind that Lazarus/LCL itself is a project running for over a decade with tens of very skilled developers).


Quote
It's one of the best IDEs out there for FPC-- fast, and user-friendly. If it exists, I haven't seen it mentioned on the Lazarus forums, and you may want to mention it there; but I could easily have missed it.
As can been seen from the link, ALB does mention it on his blog but it is hardly worth any mentioning on the Forums because the bad state. Hardly any positive experience for end-users.

MUI is available as widgetset for Lazarus though, so basic LCL controls can be used to develop applications for AROS when using cross-compilation. For instance EdiSyn (https://blog.alb42.de/2016/04/08/edisyn-m68k-amiga) was developed that way. It uses some basic LCL controls and the not so basic SynEdit control (syntax highlighting editing component). But is also shows the shortcomings of MUI in relation to LCL: for instance the standard tab control cannot be implemented using MUI so we had to resort to using a custom tab control.

fwiw you can compile your visual apps without using the Lazarus IDE as well. That way you do not have to depend on a complete installation with editor and all that. ALB42 distributes the LCL (including MUI widgetset) separately.

Because of some of the compilications with MUI (see also ALB42 bug reports on MUI that still requires proper fixes), it was at one time decided to add support for FPGUI, which is basically a custom drawn GUI (also available for Lazarus as widgetset although also in a very bad state there) which could easier/quicker be implemented for AROS. The native FPGUI implementation does a very good job, but of course lacks a decent visual editor.

Eentually that lead to ALB working on a MUI visual designer.... which afaik is still a work in progress.

Quote
It's one of the best IDEs out there for FPC-- fast, and user-friendly. If it exists, I haven't seen it mentioned on the Lazarus forums, and you may want to mention it there; but I could easily have missed it.
I agree, it is a nice IDE although lacking for me because of missing support for generics and some other tidbits that makes the IDE go haywire (yes the new upcoming 2.0 release of Lazarus should take care of most of my current issues).

Hopefully now you know why it was never announced and why there isn't an official announcement. afaik currently 3 or 4 people use Free Pascal and/or Lazarus to develop for AROS/Amiga/MorphOS and 2 of them are in my household... all of those people are aware of the progress (or lack thereof) being made.
Title: Re: Lazarus?
Post by: trekiej on December 25, 2018, 08:02:44 AM
Is Murks modular enough to handle fpc?
Title: Re: Lazarus?
Post by: magorium on January 02, 2019, 04:38:29 AM
Is Murks modular enough to handle fpc?
From an end-user perspective that would be a no.

In case you are running native only, then i would like to make the following suggestions (no particular order):
a) fp-IDE (old MS-DOS turbo-c/turbo-pascal a-like editor). It is distributed by default and can be started using the fp command (or use the icon)
b) annotate (http://onyxsoft.se/annotate.html). Syntax-highlight file for Pascal and other instructions can be found here (http://fpcamigawiki.alb42.de/index.php?title=Using_annotate).
c) EdiSyn (https://blog.alb42.de/programs/edisyn/)
or
d) if you like then you could also use vim and configure that to your likings

Hence why it was mentioned that it is more convenient to develop using a host for AROS. It allows you much more freedom in that you can use any editor (that supports you to invoke commandline tools on the open editor window or project file).
Title: Re: Lazarus?
Post by: trekiej on January 07, 2019, 08:51:16 PM
Thanks.