Code::Blocks Forums

User forums => Help => Topic started by: jeorama on September 23, 2010, 03:14:55 pm

Title: Can codeblocks generate “ko” file?
Post by: jeorama on September 23, 2010, 03:14:55 pm
Can Codeblocks compile a linux driver in module and generate  “.ko” file?

I set the filename extension to ".ko" but I'm not sure it is actually module file.

thanks
Title: Re: Can codeblocks generate “ko” file?
Post by: oBFusCATed on September 23, 2010, 03:56:00 pm
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_is_Code::Blocks.3F
Then this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
Then search the kernel docs, how you're supposed to build kernel modules
Then you should try to find a way to replicate that in C::B, if you've problems ask again:)
Title: Re: Can codeblocks generate “ko” file?
Post by: jeorama on September 23, 2010, 04:24:17 pm
I searched the "kernel" docs and it seems windows version support project "driver" wizard, however, in linux it is not support
Title: Re: Can codeblocks generate “ko” file?
Post by: Jenna on September 23, 2010, 05:01:36 pm
I searched the "kernel" docs and it seems windows version support project "driver" wizard, however, in linux it is not support
I don't think you find a windows version in the kernel docs oBFusCATed talked about.

You should read the docs of the linux kernel to find out what is necessary to build a linux-kernel module and replicate it for C::B if possible.