Skip to contentSkip to conversation

Getting Started

DISCUSSION Steve Burtchin 2 participants 2 messages Apr 7, 2012

lore
Share & tools
lore
#0 lore raw

GRUB Developers,

Please help me get started developing GRUB2. I would like to add some additional functionality to the 'parttool' command (functionally similar to the code changes I proposed for GRUB-Legacy). What can you tell me about how the new code is organized and what coding rules are in place. Is there a structure chart showing the heirarchy of function calls? Do you have specific recommendations for editors etc. I am using Debian Linux. I notice that the new code contains a lot of pre-processor directives. Do you have specific recommendations about understanding and working on the code?

Thank you,

Stephen Burtchin

#1 lore raw
Quoted 5 lines · Steve Burtchin

GRUB Developers,

Please help me get started developing GRUB2. I would like to add some additional functionality to the 'parttool' command (functionally similar to the code changes I proposed for GRUB-Legacy).

Could you give more details?

Quoted 2 lines

What can you tell me about how the new code is organized and what coding rules are in place.

We follow GCS (GNU Coding Standards) and we have a small manual ourselves in docs/grub-dev.*

Quoted 1 line

Is there a structure chart showing the heirarchy of function calls?

No

Quoted 1 line

Do you have specific recommendations for editors etc.

emacs and indent with default setting

Quoted 4 lines

I am using Debian Linux. I notice that the new code contains a lot
of pre-processor directives. Do you have specific recommendations about understanding and working on the code?

The preprocessor directive names should be explicit enough.

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko