Changing from gcc/g++-3.3 to 3.4 on Warty
Charlie Zender
zender at uci.edu
Mon Jan 10 00:33:00 UTC 2005
Hi,
I am running Warty Warthog on a pentium 4 laptop.
I want to change my default compiler (the one I use to compile
my userland C/C++ programs) from gcc/g++-3.3 to gcc/g++-3.4.
I installed the appropriate packages gcc/g++-3.4 packages.
Now I want to change all the generic links so that e.g.,
/usr/bin/gcc points to /usr/bin/gcc-3.4 instead of /usr/bin/gcc-3.3.
There are many such links so I was wondering, is there an automated
way to do this? If not, it would be helpful if this capability were
added to the dpkg-reconfigure capability of gcc/g++ packages, i.e.,
have the package ask during install if you wish them to be the default
compiler. Doing it by hand seems prone to error and hard to reverse.
Thanks,
Charlie
--
Charlie Zender, surname at uci.edu, (949) 824-2987, Department of Earth
System Science, University of California, Irvine CA 92697-3100
****** Visiting NCAR 12/18/04--1/30/05 **** Same e-mail ************
******* Phone: (303) 497-1380 **** FAX: (303) 497-1324 *************
More information about the ubuntu-users
mailing list