2008/10/29 Henrik Austad <[EMAIL PROTECTED]>:
> On Wednesday 29 October 2008 14:10:33 loody wrote:
>> Dear all:
>> I try to build a kernel with -O and I try to modify below lines in
>> Makefile:
>>
>> ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
>> KBUILD_CFLAGS   += -O
>> else
>> KBUILD_CFLAGS   += -O
>> endif
>
> With -O, the compiler tries to reduce code size and execution time, without
> performing any optimizations that take a great deal of compilation time.
>
> As to why this fails, I don't know. When I change my Makefile to reflect
> yours, and run a build with defconfig, It compiles without errors
>
> Which version are you using? (I use git head, e946217e4f)
Hi:
thanks for your kind help.
Actually I try to cross-compiling kernel for my arm platform.
I use uClinux-dist-20080808.tar.bz2 and my toolchain is
arm-linux-tools-20061213.tar.gz

I didn't do the same thing on compiling non-uclinux.
I will try it and update any progress.
Sincerely Yours,
miloody

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to