Use `ld -b binary` to speed up GResource generation for linking
The resource compilation in my project needs quite some time. The GResource system compiles big c files with hexdumps, and most of the time is spent in compiling these files. Is there a particular reason why you are not using ld directly, like explained here? A quick comparison of
ld -r -b binary bigfile.data -o bigfile.o
vs.
gcc -c bigfile-hex.c -o bigfile.o
showed the first to be nearly instant, while the second needed quite a long time.