Murthy Raju forced the electrons to say: > gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -I/user/src/modules O6 -c rl100a.c > > But when I try to compile using this , I get an error saying no file O6 is > found. The command line is incorrect. That should be -O6 (note the minus sign). It tells the compiler to optimise the code to the highest possible level (I thing gcc has only upto -O3, and anything above is treates as this). Binand -- #include <stdio.h> | Binand Raj S. char *p = "#include <stdio.h>%cchar *p = %c%s%c; | This is a self- int main(){printf(p,10,34,p,34,10);return 0;}%c"; | printing program. int main(){printf(p,10,34,p,34,10);return 0;} | Try it!!
Attachment:
pgpgrYB4fIJOG.pgp
Description: PGP signature