The closest I found was this
https://src.fedoraproject.org/rpms/gcc/blob/f32/f/gcc.spec
But I don’t know how to use this in order to somehow clone and compile it.
https://src.fedoraproject.org/rpms/gcc/blob/f32/f/gcc.spec#_3061
is it possible someone to give me some pointers?