Hi everyone,
Recently, while I was browsing through OpenBSD's CVS history, I came
across a few usages of the -Oz build option (apparently suggesting that
LLVM is not as good at optimizing for size as GCC is, but that's not
very relevant to this email - even if it's true, which I'm not exactly
sure of) and one commit message mentioning that GCC now also supports
this option (as an alias for -Os). I wonder, then, if it would be wise
for you to mention this in the gcc-local(1) man page, as it seems to be
OpenBSD-specific functionality (I found the commit for GCC 3.3.6 and
assume there's a similar one for GCC 4.2.1).
This is the kind of thing that's useful to know for people writing
makefiles and the like. I'll certainly be using -Oz if I want to
optimize for size on any hardware platform for now on, but others may
not be aware and might unnecessarily stick with -Os just to be safe (and
miss out on getting the smallest possible code size out of LLVM).
Obviously it's not a matter of life and death, but given OpenBSD's
generally excellent documentation this came across as a minor omission
to me.
While I'm at it (and now that I've mentioned GCC 3.3.6): good job
keeping OpenBSD luna88k alive and kicking, guys! As far as I can tell
OpenBSD is the only operating system still putting out new releases for
this weird but cool system. I'd still love to obtain one myself some
day, but I've already more or less accepted the fact that it won't
happen. Still, if anyone just happens to have a working system lying
around and wants to sell it, I'd be very interested! Yeah, I know it's a
long shot, but I figured trying and failing is better than not trying at
all... ;)
Regards,
Jorden