On Thu, May 24, 2001 at 07:39:29PM +0530, pradeep wrote:
>              I am getting errors when I  am building the  kernel 2.4.0
> what  I have done is  cp  arm-linux-gcc to /usr/bin/src and
> tried to do a make but I am getting  errors  like  the following
> 
> 
> gcc -D__KERNEL__ -I/usr/src/arm/linux/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe  -march=i686   -c -o

This is completely and plain wrong. You are trying to cross compile a
kernel with gcc instead of arm-linux-gcc, and you also supply the flag
-march=i686 which is completely invalid for ARM architectures.

Repair your system by reinstalling the native compiler, and go reading
the kernel compile documentation on http://www.arm.linux.org.uk/ .


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to