Re: Compiling without optimization
- Posted by ghaberek (admin) 1 month ago
- 269 views
If you're on Debian, etc. I recommend using ccache to speed up builds. First run with any combination of source/target/options still takes a while, but subsequent builds are significantly faster.
sudo apt install ccache ./configure --cc="ccache gcc" make all
Later I'd like to explore doing this for the translator. There's really no reason to re-translate the standard library if it hasn't changed. Probably worth doing after we've eliminated the various platform flags, EWINDOWS, etc.
Which, by the way, I was recently experimenting with. Find/replace EUNIX with __unix__ on the backend sources and make library seemed to come out correct.
-Greg