Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! yz89's Avatar
    Join Date
    Apr 2012
    Location
    Iran
    Posts
    15

    Question What are Linux kernel standars?


    Hi there,

    Suppose I have been wrote a kernel component which I would like to add to current existing kernel...So...

    I knew that Linux kernel have been writed in C, but what C? ANSI C or something else? I mean in wich syntax I should write the component to be compatible with existing kernel?

    What is the compiler of it? GCC? Is it compilable by any version of GCC? I mean with which compiler I should compile the component?

    What does *.h and *.c files the kernel always have? For example I know that I'll be able to use malloc function but I don't know if I'll be able to use pcap functions or I have to add these manually to my component?

    In general how I can know the Linux kernel development standars? I would like to learn it at first and at second to write some kernel components to improving it and finally sharing them with community.

    Thanks in advance.

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,759
    This site might provide the information you seek
    Linux Kernel Newbies
    You must always face the curtain with a bow.

  3. #3
    Just Joined! yz89's Avatar
    Join Date
    Apr 2012
    Location
    Iran
    Posts
    15
    I just searched for best linux forums but I did not find this site for newbies. Thank you very much!
    I'll follow my question there and I'll back to these forums where I was not newbie

    Your Sincerely,
    Yasser.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •