Skip to contentSkip to conversation

crosscompiling for ARM

DISCUSSION Alexei Babich 1 participant 2 messages May 12, 2008

lore
Share & tools
lore
#0 lore raw

Hi all,
I'm try to crosscompile linux-kernel to arm platform (AT91RM9200 EK board). Host machine is i686-linux.
So, how to make bzImage ? I try this in linux source dir: $make ARCH=arm menuconfig; $make ARCH=arm, but at this step I see, that compile script invokes native compiler (gcc, not arm-unknown-linux-gnu-gcc), linker, and objcopy. How to switch to crosscompiler (and other for building bzImage) ?

Thank you.

Signature · 9 lines
Regards,
Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#1 lore raw

solved:
$make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnu-

Signature · 9 lines
Regards,
Alexei Babich, chematic engineer, OOO NPP "Rezonans", Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs