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

How to get compiler changed to gcc-3.20



I have set the variables in /etc/environment to the following

### BEGIN DEBCONF SECTION FOR localeconf
# Do not edit within this region if you want your changes to be preserved
# by debconf.  Instead, make changes before the "### BEGIN DEBCONF SECTION
# FOR localeconf" line, and/or after the "### END DEBCONF SECTION FOR
# localeconf" line.
LANG=en_US
### END DEBCONF SECTION FOR localeconf
CC=/usr/bin/gcc-3.2
GCC=/usr/bin/gcc-3.2
CPP=/usr/bin/cpp-3.2
CXX=/usr/bin/g++-3.2
GCJ=/usr/bin/gcj-3.2
LD_LIBRARY_PATH=/lib:/lib/lsb:/lib/security:/lib/modules:/lib/iptables:/usr/lib:/usr/local/lib:/usr/lib/gcc-lib/i386-linux/3.2.1:/usr/lib/gcc-lib/i386-linux/3.2.1/include:/usr/lib/gcc-lib/i386-linux/3.2.1/include/gcj:/usr/lib/gcc-lib/i386-linux/3.2.1/include/linux
TMPDIR=/tmp

I am trying to get the default compiler and it's supporting libraries to change to gcc-3.20. I can not locate much in the way of docs that tell me how to check if what I have done is correct and if it is actually changed. I used set to determine that the changes made are installed to my user environment OK..but when I run the compiler (kernel compile using debian make-kpkg buildpackage) I see that it is still using the file /usr/lib/gcc-lib/i386-linux/gcc-2.95.4 instead of the 3.20 version. Any ideas why?
John



Reply to: