[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Way to switch easily (Was: Re: Egcs, gcc, and Debian)



Galen Hazelwood wrote:
> 
> mdorman@debian.org wrote:
> 
> >
> >
> > That may be what many people portray it as, but I can tell you that it
> >
> > can also be used *very effectively* as Jean Pierre suggests.
> 
> Perhaps, but not by me.  I agree with the person who stated that /opt
> should be as untouchable as /usr/local.  It's a very good sysadmin
> tool...but debian packages should leave it alone.
> 
> >
> >
> > Why not use the update-alternatives functionality?
> 
> Well, largely because I'm a lazy bum.  Using update-alternatives means
> that I have to upload a new gcc-2.7.2.2 package to unstable which can
> coexist with egcs.  It just seems...well, _wrong_ somehow to hack gcc in
> that manner.  But if everyone else disagrees with me, I'll do it.
> 
> --Galen

On other unices I've worked on the compiler to use is selected in the
makefile with the use of
CC = gcc
This is very effective and debian should stick to that. Make xmkmf and
configure insert the right compiler (cc, gcc, egcc,...) there while
configureing the sources. There is no need to think about something new
to have multiple compilers.

If you have a link from gcc to egcc and somebody wants to compile source
that is not compatible with gcc he's in big trouble. As a normal user he
can't change that link.

May the source be with you.
			Mrvn


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: