This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]