cvs commit: src/usr.bin/objformat

Matthew Dillon dillon at apollo.backplane.com
Tue Oct 26 11:08:14 PDT 2004


:On Tue, Oct 26, 2004 at 04:27:46AM -0700, Joerg Sonnenberger wrote:
:>   Add support to specify the default compiler and binutil version in
:>   /etc/make.conf.
:>   
:>   Use entries of the form
:>   CCVER_DEFAULT=	gcc34
:>   BINUTILSVER_DEFAULT=	binutils214
:>   to use gcc34 and the new binutils by default.
:>   
:>   Add the DragonFly copyright to objformat.c.
:
:Simon has suggested on IRC that this might be misleading. If you want to
:change the default compiler / binutil version you have to recompile and
:reinstall objformat, so this is best done as part of buildworld settings.
:
:Joerg

    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?  

    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.

    If a better way can be found...

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Commits mailing list