Home:ALL Converter>gcc version mention in kernel module makefile

gcc version mention in kernel module makefile

Ask Time:2012-09-12T16:25:28         Author:duslabo

Json Formatter

How to mention the gcc version in makefile while compiling the kernel module?
I used make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- to build the module but it gives an error that arm-none-linux-gnueabi-gcc: command not found. Bit I have arm-none-linux-gnueabi-gcc-4.3, so how can I mention gcc-4.3 in makefile ?

Author:duslabo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/12383989/gcc-version-mention-in-kernel-module-makefile
yy