sierdzio / gibs

Experimental project: in-source build system. Just for fun ;-)
Other
0 stars 1 forks source link

Pipe data into compiler #15

Open sierdzio opened 6 years ago

sierdzio commented 6 years ago

Since ibs is already reading all headers and sources, it is a waste for compiler to do the same again.

Add an option to cache the file and then pass it to compiler via pipe.

Help: https://stackoverflow.com/questions/1003644/is-it-possible-to-get-gcc-to-read-from-a-pipe

sierdzio commented 6 years ago

Does not seem to be working, I'll retry again some time later. Maybe

sierdzio commented 6 years ago

Working solution on dev branch. Negligible influence on build time.

Next idea: keep object files in RAM and pipe them into linker! :D