Yuen Chi Chuen wrote:
thx Len Sorensen,

Sorry for typing wrongly in previous email. I did type "make CROSS_COMPILE=arm-elf-". However, it turns out an error "include/linux/compiler-gcc.h:86: linux/compiler-gcc2.h: No such file or directory".

It seems that arm-elf-gcc is not an appropriate compiler for uClinux kernel 2.6. So I'm still looking for solutions.

I only use arm-linux- compilers for uClinux 2.6 kernels.

Regards
Greg



------------------------------------------------------------------------
*寄件人﹕* Lennart Sorensen <lsore...@csclub.uwaterloo.ca>
*收件人﹕* uClinux development list <uclinux-dev@uclinux.org>
*傳送日期﹕* 2009/11月/5 (四) 7:26:50 AM
*主題:* Re: Re: [uClinux-dev] An error in building uClinux-dist-20090618

On Wed, Nov 04, 2009 at 07:11:36PM +0800, Yuen Chi Chuen wrote:
 > thx phil,
> > In /usr/local/bin/, there's an arm-elf-gcc. So in command prompt, I typed "make CROSS_COMPILE = arm-elf". However, as attachment shows, it turns out an error "include/linux/compiler-gcc.h:86: linux/compiler-gcc2.h: No such file or directory". > > May I know how to solve it?

Try:

make CROSS_COMPILE=arm-elf-

No spaces, and yes a dash at the end.

That's what the linux kernel uses, and since uclibc uses the same kbuild,
it probably uses that too.

--
Len Sorensen
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org <mailto:uClinux-dev@uclinux.org>
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org <mailto:uclinux-dev@uclinux.org>
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

------------------------------------------------------------------------
Yahoo!香港提供網上安全攻略,教你如何防範黑客!*了解更多* <http://hk.promo.yahoo.com/security/>


------------------------------------------------------------------------

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

--
------------------------------------------------------------------------
Greg Ungerer  --  Principal Engineer        EMAIL:     g...@snapgear.com
SnapGear Group, McAfee                      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to