cvs commit: src/usr.bin/objformat
joerg at britannica.bec.de
Tue Oct 26 12:02:00 PDT 2004
On Tue, Oct 26, 2004 at 11:07:31AM -0700, Matthew Dillon wrote:
> I'm a bit leery about giving users too many compiler defaults and
> options to play with, it will result in a lot of people shooting
> themselves in the foot. People just got used to using CCVER ?= in
> make.conf and now we have two new environment variables?
If you want to ensure you have a gcc 3.4 only system, CCVER is a bit
difficult. E.g. it doesn't work if the environmental variable gets
lost and so on. Allowing to change the default of objformat makes it
friendlier at least for those trying to tweak the bugs out of a 3.4
> At a minimum I would recommend that the BINUTILSVER_DEFAULT be removed.
> That can create massive confusion. I would prefer objformat to select
> the binutils to use based on the CC version.
Actually it seems to be a nop anyway. I want to keep BINUTILSVER_DEFAULT,
but it will have the meaning of the fallthough entry if CCVER points to
an unknown compiler. For the other cases, I'll defines to centralise changes
of binutils versions.
> If a better way can be found...
> Matthew Dillon
> <dillon at xxxxxxxxxxxxx>
More information about the Commits