In light of there being no binary download that I can see, I tried building using gcc on macOS 12.6.6
$ cd gcc
$ make
gcc -Wall -c -o ../src/helpdeco.o ../src/helpdeco.c
In file included from ../src/helpdeco.c:25:
../src/helpdeco.h:26:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^~~~~~~~~~
1 error generated.
make: *** [../src/helpdeco.o] Error 1
I can resolve that with:
#if defined(__MACH__)
#include <stdlib.h>
#else
#include <malloc.h>
#endif
But further issues appear.
In light of there being no binary download that I can see, I tried building using gcc on macOS 12.6.6
I can resolve that with:
But further issues appear.