Author Topic: Can codeblocks generate “ko” file?  (Read 6521 times)

Offline jeorama

  • Multiple posting newcomer
  • *
  • Posts: 12
Can codeblocks generate “ko” file?
« 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
« Last Edit: September 23, 2010, 03:16:41 pm by jeorama »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Can codeblocks generate “ko” file?
« Reply #1 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:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jeorama

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: Can codeblocks generate “ko” file?
« Reply #2 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

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Can codeblocks generate “ko” file?
« Reply #3 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.