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

Re: 2.6.x-amiga kernel + misc.



On Sun, May 01, 2005 at 10:06:07AM +0200, Wouter Verhelst wrote:
> On Fri, Apr 29, 2005 at 08:04:44PM +0200, Christian T. Steigies wrote:
> > > Should I try to ensure that the 2.6-kernel is built with gcc-2.95? is it 
> > > even possible to build 2.6.x with gcc-2.95? (I could try, but each kernel 
> > > build is taking about half a day...) 
> > 
> > IIRC I built 2.6 with gcc-3.3. Try using a cross compiler, instead of 6
> > hours it takes only 6 minutes to compile a kernel on my notebook. See
> > kegel.com/crosstool
> 
> Actually, you want packages.debian.org/toolchain-source

Actually, you don't. Have you tried toolchain-source? It is a nice debian
package, but you can have only one set of cross-compilers installed at a
time and there never was a version for gcc-2.95. So no 2.4 kernels for you.
I am not sure if the cross compiler is actually able to compile kernels for
m68k, but with crosstools you can mix and match compiler, binutils and
libc6, ie use binutils-2.15.91.0.2 or 2.15.96 if you want to build kernel
images. The toolchain-source package has probably the latest debian patches
included to build usable binutils, and there is a patch with which you can
build older versions of gcc. With crosstool you can build a new or old gcc
as soon as the upstream version is out, no need to wait for a maintainer to
upload.

For crosscompiling for palm however, toolchain-source is great ;-)

Christian



Reply to: