1
Programming / Re: Building SeaMonkey 2.49.x in 2022 in ArcaOS
« on: December 28, 2022, 10:38:58 am »Hi Edmund, yes 52ESR has a different build system. It is master in my Mozilla repo and you need to check out 45ESR or such, check the branches.
Dmitriy merged in 52.4 IIRC so basically the 45ESR patches are merged in but there were lots of changes. I managed to patch the old.configure.in's and configure.py's enough to start compiling, they need work such as sound support and short DLL names (or just change the long dll names), DLL's have to be in 8.3 format.
For SeaMonkey, there is only the 45ESR (and older) in the repo. Getting Firefox 52ESR to build should be the next step after building SeaMonkey. I guess I need to revisit applying the patches for Comm-central.
I apologize for being so confused. I took a look at the version.txt in both comm and mozilla/browser/config and
noticed that they were indeed based on 52esr. (2.49.9esr and 52.4.x respectively).
sh mozilla\mach build outputs :
Code: [Select]
0:05.62 C:/USR/BIN/make.EXE -f client.mk MOZ_PARALLEL_BUILD=2 -s configure
0:05.78 test
0:05.88 echo
0:06.84 cd d:/work52/objdir
0:06.84 D:/work52/build/configure
Configure complete!
Be sure to run |mach build| to pick up any changes
0:07.03 C:/USR/BIN/make.EXE -f client.mk MOZ_PARALLEL_BUILD=2 -s
0:07.14 test
0:07.26 echo
0:08.05 Adding client.mk options from /work52/build/.mozconfig:
0:08.05 MOZ_OBJDIR=d:/work52/objdir
0:08.05 MOZ_CO_PROJECT=suite
0:08.05 MOZ_MAKE_FLAGS=-j2
0:08.05 FOUND_MOZCONFIG := /work52/build/.mozconfig
0:08.09 test
0:08.22 echo
0:09.05 cd d:/work52/objdir
0:09.05 D:/work52/build/configure
0:09.09 make.EXE[1]: *** No targets. Stop.
0:09.09 make.EXE: *** [build] Error 2
0:09.09 0 compiler warnings present.
So I should use "mozilla\mach build"; but I get:
Code: [Select]
[D:\work52\build]mozilla\mach build
SYS1041: The name mozilla\mach is not recognized as an
internal or external command, operable program or batch file.
Looking at the mozilla\mach code, it does make sense to use "sh mozilla\mach build".
Quote
As for ilink, it is the IBM linker, IBM released it, and licensed it, for building Mozilla. Around Firefox 4-10 debug xul.dll became too big for ilink to link so we switched to wlink (wl.exe), which we have the source and a maintainer. Wlink also needed fixing to link xul. For a while, needed the whole address space to link.
How do I get the build process to use wl instead of ilink?
Thanks
Edmund