Given that fpc 3.0.0 release was tagged at revision 32319 t is of no concern.
That is, in theory
Unfortunately, it seems that commit
31002 did not made it into release 3.0.
In order to be able to cross-compile your Lazarus project to MorphOS, you would need the trunk compiler (or apply the commit).
Thank you both for having noticed. The MorphOS maintainer will be notified. With a bit of luck it will be included into the next (upcoming) 3.0.x release.
@sashaapont:With regards to AmigaOS4 cross-compilation.
Please forget that. It is not possible to do at this point in time unless you are really top notch in mastering GNU binutils. It is one of the reasons that ALB42 created the VM setup and provides that image for others to use.
With regards to cross compiling for MorphOS:
- Have a good and in working order Free Pascal 3.0.0 compiler
- Download the Free Pascal sources from svn (or download a daily zip)
- Create a Free Pascal 3.1.x compiler and cross-compiler from those sources you just obtained
- Download Lazarus from ALB42's github account. Make sure to select the MorphOS branch (and not the default AROS branch) and build that branch.
- Start Lazarus. As Molly suggested: use the extra configuration option in case you have another Lazarus installed.
- Make sure Lazarus uses your freshly compiled Free Pascal 3.1.x compiler
- Create a new project
- Make sure to select mui as widgetset, set the processor to PowerPC and the target to MorphOS
- Build your project
That should do the trick.
Sorry for the inconvenience. In principle Molly was correct ( hi Molly
)
Regards,
Ron