LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gcc -DMODULE -D__KERNEL__ -DLINUX What these options do (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-dmodule-d__kernel__-dlinux-what-these-options-do-615446/)

Ashok_mittal 01-22-2008 05:32 AM

gcc -DMODULE -D__KERNEL__ -DLINUX What these options do
 
gcc -DMODULE -D__KERNEL__ -DLINUX what these options do when these are given while comping a loadable module.

I have seen these modules in the Makefile for a module also.
Please explain it as i tried to find on gnu.org but didn't find.

Uncle_Theodore 01-22-2008 05:59 AM

Look here
http://gcc.gnu.org/onlinedocs/gcc/Pr...cessor-Options


All times are GMT -5. The time now is 02:11 AM.