Way to switch easily (Was: Re: Egcs, gcc, and Debian)
On Sun, 17 Aug 1997, Jason Gunthorpe wrote:
> for a package, it would be really nice to be able to have a way to
> globally switch between compilers, but I haven't the faintest idea what
> would be involved..
Have a "switcher" to flip symlinks. have gcc be a symlink to either egcc
or gcc, all ov which stay in their own hierarchy.
For instance, maybe have egcc and gcc.orig in /usr/bin, and gcc be a
symlink to one ov the two. Its quick, dirty, but can anyone think of any
reason atall why it wouldnt work?
Maybe a script like this:
ln -s /usr/bin/$1 /usr/bin/gcc
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .