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

Re: make: *** [stamp-build] Error 2





Jurij Smakov wrote:
On Fri, 12 Aug 2005, Horms wrote:

On Thu, Aug 11, 2005 at 01:20:35PM +0100, ctrlER wrote:

The easiest way that I know is to just edit the top level
Makefile and replace gcc with gcc-3.3.


Alternatively, make-kpkg supports passing of CC variable to the kernel build through MAKEFLAGS variable. From make-kpkg man page:

  You may control which version of gcc used in kernel compilation by
  setting the Makefile variables CC and HOSTCC in the top level kernel
  Makefile. You can do this simply by

    % MAKEFLAGS="CC=gcc-2.95" make-kpkg ...

To build linux-source-2.6.12  what's the gcc version I should use, and
most important, where can I find that info so that in future updates I
dont get stuck again.


linux-source-2.6.12 whould work fine with the latest and
greatest toolchain in unstable, that is gcc 4.0


The goal is definitely to make all arches build with gcc-4.0 in the nearest future. For various reasons the only architectures using gcc-3.3 to build the kernel are sparc, alpha and m68k. You can figure out the compiler used by each architecture by looking at the Build-Depends line of the latest linux-2.6 source package.

Where can I find that line?
I went to Synaptic > linux-image-2.6.12-1-386 > properties and didn't find any mention to Build-Depends.


Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC




Thanks



Reply to: