[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <13700.1291054229@localhost>
Date: Mon, 29 Nov 2010 13:10:29 -0500
From: Valdis.Kletnieks@...edu
To: 乔崇 <qiaochong@...ngson.cn>
Cc: hellogcc@...elists.org,
Américo Wang <xiyou.wangcong@...il.com>,
linux-kernel@...r.kernel.org, gdb@...rceware.org
Subject: Re: [hellogcc] Re: [PATCH] Built kernel without -O2 option
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.
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists