Posts

Showing posts from August, 2005

Make - Build utility

Image
Make - a tutorial Table of Contents Description A simple compilation Compiling with several files Separate compilation Separate compilation steps Splitting your C Program Dependencies Dependency Graphs How dependency works How does make do it? The makefile Translating the dependency graph Listing dependencies Using the Makefile with make Shortcuts for make Macros in make Special macros Predefined rules Miscellaneous shortcuts Advanced features Special dependencies Custom suffixes and rules The Make command The make command allows you to manage large programs or groups of programs. As you begin to write larger programs, you will notice that re-compiling larger programs takes much longer than re-compiling short programs. Moreover, you notice that you usually only work on a small section of the program (such as a single function that you are debugging), and much of the rest of the program remains unchanged. The make program aids you in developing your large programs by keeping track of

Linux Kernel Hacking!!

Linux Kernel Hacking!! In this first of a two-part series, learn about system and environment requirements, the best ways to acquire Linux™ source code, how to configure and boot your new kernel, and how to use the printk function to print messages during bootup. Before you start Learn what these tutorials can teach you, and what you need to run the examples in them. About this series The capability of being modified is perhaps one of Linux's greatest strengths, and anyone who has dabbled with the source code has at least stood at the gates of the kingdom, if not opened them up and walked inside. These two tutorials are intended to get you started. They are for anyone who knows a little bit of programming and who wants to contribute to the development of Linux, who feels that something is missing in the kernel and wants to fix that, or who just wants to find out how a real operating system works. About this tutorial This tutorial takes a basic approach to