lkml.org 
[lkml]   [2010]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [hellogcc] Re: [PATCH] Built kernel without -O2 option
    From
    Date
    On Mon, 29 Nov 2010 17:45:15 +0800, 乔崇 said:

    > change mycc to this will work,:)
    >
    > #!/bin/sh
    > gcc "$@" -O0 ||
    > gcc "$@" -O1 ||
    > gcc "$@"

    That may result in issues - the problem is that there are places in the kernel
    where 'gcc -O0' will *compile* cleanly, but not actually *run* correctly.

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2010-11-29 19:13    [W:3.055 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site