Hello All,
I am writing a driver and apis for it , these should be compatible for
32 bit and 64 bit system.
To have the compatability i have used the macro CONFIG_X86_64 in
.config .
But this macro is only working in driver.
Can any one tell me what should i do to make my user space files compatable.
At present i am using a user defined macro and changing it (define/
undef) every time i change the system.
Can i have common makefile for 2.4 and 2.6 driver module.
At present i am using 2 differnt makefiles and changing them when ever i
cahnge the kernel.
Thanks
Sudheer
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/