Hi.
I like to use the revived PCC to compile gawk every once in a while.
This has stopped working.
Steps to reproduce:
git clone https://github.com/arnoldrobbins/pcc-revived.git
cd pcc-revived
git checkout ubuntu-18
./make-tmp.sh
/tmp/pcc/bin will have the executables. Next:
git clone https://git.savannah.gnu.org/r/gawk.git
cd gawk
git checkout gawk-5.2-stable
./bootstrap.sh
export PATH=/tmp/pcc/bin:$PATH
./configure CC=pcc && make
I get this error:
| depbase=`echo dfa.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
| pcc -DGAWK -DHAVE_CONFIG_H -I"./.." -I. -I.. -g -O2 -DNDEBUG -DNDEBUG -g
-O2 -DNDEBUG -DNDEBUG -MT dfa.o -MD -MP -MF $depbase.Tpo -c -o dfa.o dfa.c &&\
| mv -f $depbase.Tpo $depbase.Po
| xalloc.h:418: error: wrong arg count
This would seem to be due to the expansion of the INT_MULTIPLY_WRAPV
macro. I tried following its definition, but got lost in the maze
of twisty little ifdefs.
Help appreciated.
Thanks,
Arnold