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

Re: kernel source and gcc-4.0



Hello,

thanks for your reply:
finally I built a 2.6.12.6 kernel with with gcc-4.0 .

As a matter of fact, I do not know how to proceed to build a kernel
with make-kpkg and a non-default gcc compiler:
I had tried
export HOSTCC=gcc-3.4
export HOSTCXX=g++-3.4
export CC=gcc-3.4
export CXX=g++-3.4
make-kpkg

but I still got error messages.

Jerome
Joel Peter William Pitt wrote:
On 8/29/05, *Jerome BENOIT* <jgmbenoit@mailsnare.net <mailto:jgmbenoit@mailsnare.net>> wrote:

    Hello List,

    I have jsut tried to build a kernel 2.6.11 with make-kernel on the
    daily update Etch box:
    while I could do a few weeks ago it without difficulty,
    I get now error messages: I suspected that
    gcc-4.0 finds code errors where gcc-3.x finds nothing.

    Is it right ?
    Is there a work around ?


I compiled 2.6.12.5 <http://2.6.12.5> with gcc-4.0 without any trouble yesterday. A whole lot of warnings, but no errors. Thus I also suggest using gcc-3.x for your kernel as Marc Wilson said, or get a later kernel version.

Joel



Reply to: