Is that the patched version? There are a lot of OS/2 specific patches including reversing all the OS/2 stuff that Mozilla removed. Plus patches to build with GCC 9.2.0
Also need,
mozilla/extensions/inspector
mozilla/extensions/irc #Chatzilla
client.py with the right arguments can pull them in if mercurial behaves or just get the URL's from client.py or, it's been awhile, maybe I ended up commiting them to my tree.
I haven't built in a while.
Yes, I had cloned the dom-inspector and chatzilla to mozilla/extensions.
set SHELL=sh.exe
set EMXSHELL=sh.exe
set CONFIG_SHELL=sh.exe
set MAKESHELL=SH.EXE
set EXECSHELL=SH.EXE
set LANG=en_US
set MOZOCONFIG=d:/work52/build/.mozconfig
Typo, set MOZCONFIG=
Ah thanks. Fixed.
You installed autoconf213?
Yes, except that I had used "set AUTOCONF=/usr/bin/autoconf213".
I changed that to "set AUTOCONF=c:/usr/bin/autoconf213"
d:/work52 is correct.
Don't remember that error but if you aren't using a patched configure.in, it won't get far. client.mk should recreate the 2.13 configure's, might have to delete the three. parent, mozilla and mozilla/js.
Where would I get the patched configure.in file? Would it already be in the repo that you linked?
You will have to also run autoconf (not autoconf213) in mozilla/nsprpub so configure is OS/2 friendly. And autoreconf -sfy in mozilla\js\src\ctypes\libffi. Need OS/2 libtool used as well as configure.
Did that.
I also found the need for a config.site as well, in usr/local/share or $PREFIX/share, or IIRC $CONFIG_SITE Mostly needed to pull in some toolkit includes after the libc ones. Toolkit has its own ancient libc.
What is config.site?
export CFLAGS=-Zomf
export CXXFLAGS=-Zomf
export ASFLAGS=-Zomf
# K: is @unixroot here
export 'CPPFLAGS=-idirafter K:/usr/include/os2tk45'
export 'LIBS=-lcx'
export ranlib=echo
is what I have.
Pardon my confusion; but where do I put this? in moz_os2_env.cmd?
Edit: fix typos, also make sure you are using JFS as the file systems, the build creates tmp files over 2GB and dies with tmp* on a HPFS partition.
Yes, after fiddling around with ArcaOS, I ended up settling with JFS.
After that, I'm still getting:
[code]
# make -f client.mk
echo 0
SYS1041: The name MOZ_PGO is not recognized as an internal or external command, operable program or batch file.
SYS0003: The system cannot find the path specified.
client.mk:204: d:/work52/objdir/.mozconfig.mk: No such file or directory
mkdir -p 'd:/work52/objdir/'
SYS1003: The syntax of the command is incorrect.
make: *** [d:/work52/objdir/.mkdir.done] Error 1
Note: the "echo 0" is a test line that I added to client.mk to show what MOZ_PGO is.
Thanks
Edmund