PDA

View Full Version : buidling embedded modules??



ra2008
July 19th, 2008, 04:11 PM
Hi,
I have read some tutorials about modules, and all explain how to build a module for x86 or using native compiler.
My question is regarding cross building.

Q1. Can we build a module for cross platform (e.g. ARM) from my PC. (i.e ARM's kernel tree exist, but not running)?? or it should be on a running linux on embedded board?

if yes proceed to Q2. else thanks

Q2. the makefile does't contain anything to specify which compiler to use, when issuing "make" command. how do we tell it to use arm-linux-gcc rather than gcc.????

Thnaks