On 23/02/2026 15.07, Mouse wrote:
Hi all, anything interesting to be set in mk.conf on a VAX?Switching off CC optimizer?Why would you switch optimization off?I didn't write that suggestion, but two possible reasons come to mind immediately:
:-)
(1) So a build completes in a week instead of a month?
Fair enough. However, I have no idea how much faster the compiles will be with optimization turned off.
(2) So the compiler isn't _quite_ so much of a RAM pig? (I don't know whether it would actually have that effect, but it seems plausible to me.)
I guess it will have some impact, but I don't know how much. Similar to the time question. I get the general feeling that it's a pig no matter how you run it.
The third reason would be the old one about those files that crashed the compiler in the past, when optimization was on (or was it that the resulting code didn't work? Now I don't remember...).
But I think for both memory and time aspects, it makes more sense to let the compiler work longer, and get something that runs faster and with less resources. After all, for most binaries, you compile them once, but you run them many times.
Johnny