[scummvm-devel] Building Symbian port with buildbot

Eugene Sandulenko sev at scummvm.org
Sat Aug 7 07:15:16 UTC 2021


It seems to me that the current approach is way too Windows-centric.

As it was mentioned by Philippe, it should NOT depend on any precompiled
libraries.

My recommendation is that you, Fiodar, try to make the port compilable on
Debian Linux, perhaps ask questions along the way and once you succeed, we
may move the setup to the buildbot. It will be a massive hassle if someone
without knowledge of Symbian tries to reverse engineer your current fully
custom build system and port it to Linux.


Eugene

On Sat, 7 Aug 2021 at 02:36, fedor via scummvm-devel <
scummvm-devel at lists.scummvm.org> wrote:

> I answer your questions:
> - Project wich makes running Symbian SDK on linux -
> https://github.com/mstorsjo/gnupoc-package. That project has ports
> makesis tool. It generates ondevice installer.
> - no easy dowloaded SDK. But - Symbian opensourced - and necessary headers
> and libraries can found on GitHub. I can pack to zip.
> - Symbian Series 60 v3/v5 and other countless nokia phones
> - I can provide precompiled libraries
>
> Details
> 1. Symbian use gcc & binutils. Gcc any latest, binutils prior 2.36. I
> 2. I'm unwell with configure hacking.
> 3. I can provide bundle header and libraries.
> 4. I rewrote from scratch converter from elf 2 Symbian binary. Note!!! -
> it was tested as x86, not x64. Source -
> https://github.com/fedor4ever/elf2e32_next
> 5. Python 2.7 needed for install.
> 6. Currently Symbian port comes in 9 exe's. Engines layout rules -
> https://github.com/scummvm/scummvm/blob/master/backends/platform/symbian/S60v3/engines.mmh
> 7. Without SDK you can't build bunch of files. They never changes between
> builds and can be cached.
>
> How building with configure looks for me:
> 1. Gcc produce symbianelf
> 2. it was converted to EPOC binary
> 3. Packaging to instaĺler.
>
> --
> Отправлено из myMail для Android
> суббота, 07 августа 2021г., 01:33 +03:00 от Philippe Valembois
> lephilousophe at gmail.com:
>
> Hello Fiodar,
>
> We could try to add Symbian support to Buildbot.
> Current prerequisites are that the toolchain must be Linux based and
> should rely on reproducible ways to build it through Docker.
> It would be ideal that the toolchain doesn't use precompiled binaries
> as those would make the toolchain stick to some OS version which will
> get outdated fast.
> The build process must make use of the configure script directly
> followed by make as it's done today for all other platforms.
>
> If these prerequistes are checked, I can work on building a Symbian
> toolchain using Docker but I will need detailed information about the
> process.
> You can look at samples on the Wiki
> (https://wiki.scummvm.org/index.php?title=Compiling_ScummVM) where you
> can see the kind of information I would need to build the toolchain.
>
> Some questions that come to find first:
> - What is the project which makes SDK running on Linux? Is it still
> maintained?
> - Is SDK easily downloadable by a script?
> - Which Symbian version do you target?
> - What are the libraries compiled?
>
> Regards,
> Phil
>
> Le mer. 4 août 2021 à 01:09, fedor via scummvm-devel
> <scummvm-devel at lists.scummvm.org> a écrit :
> >
> > At this time, the port for Symbian can only be compiled on Windows. If
> Windows is not supported, I know a project with patches for SDKs for Linux.
> >
> > --
> > Отправлено из myMail для Android
> >
> > среда, 04 августа 2021г., 01:13 +03:00 от Eugene Sandulenko
> sev at scummvm.org:
> >
> > Could you please clarify what you mean by "It builds support windows
> only"?
> >
> > Buildbot configuration and setup scripts could be found in this repo:
> https://github.com/scummvm/dockerized-bb
> >
> >
> > Eugene
> >
> > On Tue, 3 Aug 2021 at 20:32, Fiodar Stryzhniou. via scummvm-devel <
> scummvm-devel at lists.scummvm.org> wrote:
> >
> > Hi! I wish to add Symbian port to buildbot.
> > I worked last month for build automation and achieve that!
> > Symbian port can autobuilded now without my hesitation. It builds
> support windows only.
> > Fiodar Stryzhniou
> >
> > _______________________________________________
> > scummvm-devel mailing list
> > scummvm-devel at lists.scummvm.org
> > https://lists.scummvm.org/listinfo/scummvm-devel
> >
> > _______________________________________________
> > scummvm-devel mailing list
> > scummvm-devel at lists.scummvm.org
> > https://lists.scummvm.org/listinfo/scummvm-devel
>
> _______________________________________________
> scummvm-devel mailing list
> scummvm-devel at lists.scummvm.org
> https://lists.scummvm.org/listinfo/scummvm-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20210807/e4e334c0/attachment-0001.htm>


More information about the scummvm-devel mailing list