Messages in this thread | | | Subject | Re: [hellogcc] Re: [PATCH] Built kernel without -O2 option | From | Valdis.Kletnieks@vt ... | Date | Mon, 29 Nov 2010 13:10:29 -0500 |
| |
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] | |