cvs commit: src/usr.bin/objformat

Simon 'corecode' Schubert corecode at
Tue Oct 26 13:53:12 PDT 2004

On 26.10.2004, at 21:05, Matthew Dillon wrote:
: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
:only world.
:>     At a minimum I would recommend that the BINUTILSVER_DEFAULT be 
:>     That can create massive confusion.  I would prefer objformat to 
:>     the binutils to use based on the CC version.
:Actually it seems to be a nop anyway. I want to keep 
:but it will have the meaning of the fallthough entry if CCVER points 
:an unknown compiler. For the other cases, I'll defines to centralise 
:of binutils versions.
    In anycase, I think this is ok if you rename the make.conf 
variable to
    make it clear that it is a compile-time variable for objformat and 
    a dynamic variable.  Maybe something like 
    instead of CCVER_DEFAULT.  Something that cannot be mistaken :-)
I advocate for using varsym variables for this purpose.

\ /
 \     ASCII Ribbon Campaign
/ \  Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00002.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <>

More information about the Commits mailing list