Re: ARCH=arm or CROSS_COMPILE=arm-linux- or both ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I read in Karim Yaghmour's book that to cross compile the kernel and
other packages I need these two arguments.

But when I see other kernel cross compiling guide they only say to
use the ARCH=arm.

so.. do I need both of them ? or just the ARCH one ?

ARCH is certainly required, because it will select the approprieate
directory to compile from arch/* and headers to include from
include/asm-*.

CROSS_COMPILE may not be needed if you have the default cross compiler
for the architecture (arm-linux-gcc?) in your PATH. However, if that
is not the case, or you have multiple versions cross compilers
installed, it is recommened that you give CROSS_COMPILE=

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux