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 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