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

Re: Compiling kernel for AMD CPU with gcc 3.02 How?



Colin Watson wrote:

On Tue, Nov 26, 2002 at 10:23:20PM -0500, Stephen Gran wrote:
This one time, at band camp, Colin Watson said:
Only if you bump the version number a bit in debian/changelog and
arrange to have the packages put on hold, of course.
With most packages, yes, but this seems to be an odd case - I get .debs
named:
cpp_3.2.1-1_i386.deb
g++_3.2.1-1_i386.deb
gcc_3.2.1-1_i386.deb
and so forth - the version number is apparently being generated from
debian/rules, rather from the changelog.

Oh yes, that's true. I stand corrected. gcc is a very weird special case
here; there are only a few packages that use the custom version feature
of dpkg-gencontrol, and it's particularly rare to generate different
version numbers on different architectures.

--------------------------------------------------------------------
Well I tried setting these in /etc/environment
### 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
G++=/usr/bin/g++-3.2
GCJ=/usr/bin/gcj-3.2

It did compile but I noticed that it still is using the 2.95.4 cpp-libs any ideas on how to clean that up. Is there anyone who know where this stuff is doccummented?? The help files in make config indicate that I will need these 3.20 updates to use the AMD athlon xp maximizations. it seems to me that there should be some examples as to what can be out into the /etc/environment file and the proper grammer to do it...but it is NOT well doccumented at all.
Thanks!
John




Reply to: