<HTML><BODY><p style='margin-top: 0px;' dir="ltr">For use modern gcc I wrote shell script for msys - https://github.com/fedor4ever/GCC4Symbian. Binutils dropped Symbian after 2.35. GCC still support, 11.2 confirmed. GDB not tetsted, still building gcc 11.2.</p>
<p dir="ltr">Libraries at sourceforge stored in source for now. Their source changed for Symbian support. Flac library heavy rewrited. Of course you can try to build newest library but autotools never support Symbian. Only freetype support Symbian.</p>
<p dir="ltr">There python script source_patcher.py, yes. It fixes mostly SDK build limitations. Except for object.cpp. There always trigger error checks but it works if change to warning. Name to change: "error("Unable to load widget position for \'%s\'. Please check your".</p>
<p dir="ltr">I see no host restrictions. Makesis comes from gnupoc, elf2e32 comes from elf2e32_next. Compiled resources and help are rarely changes so I can place somewere.<br>
2 engines incompatible with Symbian.<br>
--<br>
Отправлено из myMail для Android</p>
суббота, 07 августа 2021г., 13:03 +03:00 от Philippe Valembois <a href="mailto:lephilousophe@gmail.com">lephilousophe@gmail.com</a>:<br><br><blockquote id="mail-app-auto-quote" cite="16283305870000070702" style="border-left:1px solid #FC2C38; margin:0px 0px 0px 10px; padding:0px 0px 0px 10px;">
<div class="js-helper js-readmsg-msg">
<style type="text/css"></style>
<div >
<base target="_self" href="https://e-aj.my.com/" />
<div id="style_16283305870000070702_BODY">Well, precompiled libraries for target is not ideal but it's not a blocker.<br>
I prefer to build them along with the toolchain to ensure we use<br>
modern versions. Once the toolchain is functional it's often quite<br>
simple to achieve that.<br>
<br>
What is problematic is when gcc, binutils, side tools (running on the<br>
build host) are precompiled because they depend on host libraries and<br>
that would block upgrades of the host system.<br>
Although with Docker it's less problematic (the worker could stay on<br>
an old version of Debian for example), it's really not a good idea to<br>
do so and not future-proof.<br>
<br>
By looking at your link (gnupoc-package), it seems that GCC used are<br>
really outdated (version 2.9 for v1 and v2, version 3.4 for v3+,<br>
version 4.6.1 as experimental compiler for v3+).<br>
I don't see any support for recent GCC.<br>
Do you have more documentation about using latest GCC to compile<br>
Symbian binaries?<br>
<br>
This makes me remind some of your recent PRs where you mention<br>
patching the source code before the build. This is not something<br>
currently supported on Buildbot as the source tree is shared amongst<br>
all workers.<br>
<br>
Regards,<br>
Phil<br>
<br>
Le sam. 7 août 2021 à 09:35, <<a href="mailto:fedor_qd@mail.ru">fedor_qd@mail.ru</a>> a écrit :<br>
><br>
> I misunderstood what 'precompiled libraries means'. I mean libraries needed like sdl.lib, png.lib etc. What you mean 'precompiled libraries'?<br>
><br>
> --<br>
> Отправлено из myMail для Android<br>
><br>
> суббота, 07 августа 2021г., 10:15 +03:00 от Eugene Sandulenko sev@scummvm.org:<br>
><br>
> It seems to me that the current approach is way too Windows-centric.<br>
><br>
> As it was mentioned by Philippe, it should NOT depend on any precompiled libraries.<br>
><br>
> 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.<br>
><br>
><br>
> Eugene<br>
><br>
> On Sat, 7 Aug 2021 at 02:36, fedor via scummvm-devel <<a href="mailto:scummvm-devel@lists.scummvm.org">scummvm-devel@lists.scummvm.org</a>> wrote:<br>
><br>
> I answer your questions:<br>
> - Project wich makes running Symbian SDK on linux - <a href="https://github.com/mstorsjo/gnupoc-package" target="_blank" >https://github.com/mstorsjo/gnupoc-package</a>. That project has ports makesis tool. It generates ondevice installer.<br>
> - no easy dowloaded SDK. But - Symbian opensourced - and necessary headers and libraries can found on GitHub. I can pack to zip.<br>
> - Symbian Series 60 v3/v5 and other countless nokia phones<br>
> - I can provide precompiled libraries<br>
><br>
> Details<br>
> 1. Symbian use gcc & binutils. Gcc any latest, binutils prior 2.36. I<br>
> 2. I'm unwell with configure hacking.<br>
> 3. I can provide bundle header and libraries.<br>
> 4. I rewrote from scratch converter from elf 2 Symbian binary. Note!!! - it was tested as x86, not x64. Source - <a href="https://github.com/fedor4ever/elf2e32_next" target="_blank" >https://github.com/fedor4ever/elf2e32_next</a><br>
> 5. Python 2.7 needed for install.<br>
> 6. Currently Symbian port comes in 9 exe's. Engines layout rules - <a href="https://github.com/scummvm/scummvm/blob/master/backends/platform/symbian/S60v3/engines.mmh" target="_blank" >https://github.com/scummvm/scummvm/blob/master/backends/platform/symbian/S60v3/engines.mmh</a><br>
> 7. Without SDK you can't build bunch of files. They never changes between builds and can be cached.<br>
><br>
> How building with configure looks for me:<br>
> 1. Gcc produce symbianelf<br>
> 2. it was converted to EPOC binary<br>
> 3. Packaging to instaĺler.<br>
><br>
> --<br>
> Отправлено из myMail для Android<br>
><br>
> суббота, 07 августа 2021г., 01:33 +03:00 от Philippe Valembois lephilousophe@gmail.com:<br>
><br>
> Hello Fiodar,<br>
><br>
> We could try to add Symbian support to Buildbot.<br>
> Current prerequisites are that the toolchain must be Linux based and<br>
> should rely on reproducible ways to build it through Docker.<br>
> It would be ideal that the toolchain doesn't use precompiled binaries<br>
> as those would make the toolchain stick to some OS version which will<br>
> get outdated fast.<br>
> The build process must make use of the configure script directly<br>
> followed by make as it's done today for all other platforms.<br>
><br>
> If these prerequistes are checked, I can work on building a Symbian<br>
> toolchain using Docker but I will need detailed information about the<br>
> process.<br>
> You can look at samples on the Wiki<br>
> (<a href="https://wiki.scummvm.org/index.php?title=Compiling_ScummVM" target="_blank" >https://wiki.scummvm.org/index.php?title=Compiling_ScummVM</a>) where you<br>
> can see the kind of information I would need to build the toolchain.<br>
><br>
> Some questions that come to find first:<br>
> - What is the project which makes SDK running on Linux? Is it still maintained?<br>
> - Is SDK easily downloadable by a script?<br>
> - Which Symbian version do you target?<br>
> - What are the libraries compiled?<br>
><br>
> Regards,<br>
> Phil<br>
><br>
> Le mer. 4 août 2021 à 01:09, fedor via scummvm-devel<br>
> <<a href="mailto:scummvm-devel@lists.scummvm.org">scummvm-devel@lists.scummvm.org</a>> a écrit :<br>
> ><br>
> > 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.<br>
> ><br>
> > --<br>
> > Отправлено из myMail для Android<br>
> ><br>
> > среда, 04 августа 2021г., 01:13 +03:00 от Eugene Sandulenko sev@scummvm.org:<br>
> ><br>
> > Could you please clarify what you mean by "It builds support windows only"?<br>
> ><br>
> > Buildbot configuration and setup scripts could be found in this repo: <a href="https://github.com/scummvm/dockerized-bb" target="_blank" >https://github.com/scummvm/dockerized-bb</a><br>
> ><br>
> ><br>
> > Eugene<br>
> ><br>
> > On Tue, 3 Aug 2021 at 20:32, Fiodar Stryzhniou. via scummvm-devel <<a href="mailto:scummvm-devel@lists.scummvm.org">scummvm-devel@lists.scummvm.org</a>> wrote:<br>
> ><br>
> > Hi! I wish to add Symbian port to buildbot.<br>
> > I worked last month for build automation and achieve that!<br>
> > Symbian port can autobuilded now without my hesitation. It builds support windows only.<br>
> > Fiodar Stryzhniou<br>
> ><br>
> > _______________________________________________<br>
> > scummvm-devel mailing list<br>
> > <a href="mailto:scummvm-devel@lists.scummvm.org">scummvm-devel@lists.scummvm.org</a><br>
> > <a href="https://lists.scummvm.org/listinfo/scummvm-devel" target="_blank" >https://lists.scummvm.org/listinfo/scummvm-devel</a><br>
> ><br>
> > _______________________________________________<br>
> > scummvm-devel mailing list<br>
> > <a href="mailto:scummvm-devel@lists.scummvm.org">scummvm-devel@lists.scummvm.org</a><br>
> > <a href="https://lists.scummvm.org/listinfo/scummvm-devel" target="_blank" >https://lists.scummvm.org/listinfo/scummvm-devel</a><br>
><br>
> _______________________________________________<br>
> scummvm-devel mailing list<br>
> <a href="mailto:scummvm-devel@lists.scummvm.org">scummvm-devel@lists.scummvm.org</a><br>
> <a href="https://lists.scummvm.org/listinfo/scummvm-devel" target="_blank" >https://lists.scummvm.org/listinfo/scummvm-devel</a><br>
</div>
<base target="_self" href="https://e-aj.my.com/" />
</div>
</div>
</blockquote></BODY></HTML>