Relative Content

Tag Archive for makefilegnu-make

Serialize specific build targets during build process

I am facing fatal error C1060: compiler is out of heap space issue on Windows OS while compiling specific .c files in my project. Those .c files are huge and they eat memory when i run the build in -j%NUMBER_OF_PROCESSORS% which will consume all available cpu cores (i.e 20) and results to memory issues. I try to reduce no of cores to -j10, But still i face heap space issues intermittently.

make define function code not throwing any errors

I am trying to build library via following code snippet in makefile. Basically i am trying to split the object files and create two static libraries because of library size exceeds limitation in windows OS. There are totally 537 obj files exists and i am dividing them into two sets and creating .lib static library each.