That is not the current (stable). Most of the items in that area are tests versions.
This might help:
My gcc on Debian 11 is:
jon@deb11HPZ:~$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
jon@deb11HPZ:~$
Irrespective of the Linux OS used on the build system, you will need to make sure you have a powerful enough cpu otherwise the build process will take a very long time.
When I first started doing builds I had an Athlon 2 64 bit processor and the build took between 13 and 15 hours.
My next board had a Ryzen 5 2400G processor. That got the build time down to around 5 to 6 hours.
Then I had an i5 8400 processor. That ended up with a build time of around 3.5 to 4.5 hours.
Currently I have a Ryzen 7 5700G processor and my build times now are between 1.5 and 2.5 hours.
In all cases the first ever build takes much longer because nothing is available in the ccache.
What you found there is the IPFire3.x build system which has gcc available for the build. Similarly to IPFire2.x, IPFire3.x will not have gcc available in the actual installed firewall.
@piuser, just for interest, do you want to use the OSSEC binary installer then ? And another one , are you using OSSEC+ or OSSEC without registration ?
OK, i see. If you have setup a IPFire building environment, it might be a possibility to make a complete build, change into chroot and compile an OSSEC agent for a binary installation → https://www.ossec.net/docs/docs/manual/installation/installation-binary.html and import it to your dedicated machine. I did that long time ago and it simply works at that time but for a specific installation a longer way needs to be done.
Not sure if it makes sense to post it here but there are some building instructions out there → ummeegge / ossec-wazuh · GitLab which where/are in fact not complete nor actual and also, as already mentioned, long time ago but may it can give you an idea for your project ?!