Let's do this and see how it works.
The make tool can be used to manage multi-file projects. make uses the Makefile file in your project folder, which lists the various compiling and linking steps, targets, and dependencies. make is well explained in C-Scene: Multi-File Projects and the GNU Make Utility.
A configure script can be used to aid cross-platform compiling. A suitable configure script should interpret a Makefile.in file and then create a platform-specific Makefile file. It will do this after performing several tests to determine the characteristics of the platform.
This allows a user to type './configure' and then 'make' to compile a project on his platform.
Desktop has never been this easy. Get straight to work and play in the most intuitive environment ever — try xPUD.
Manually building a custom initial RAM disk
Because there is no hard drive in many embedded systems based on Linux, the initrd also serves as the permanent root file system. Listing 4 shows how to create an initrd image. I'm using a standard Linux desktop so you can follow along without an embedded target. Other than cross-compilation, the concepts (as they apply to initrd construction) are the same for an embedded target.
Let's do this and see how it works.
18 items | 13 visits
Links that have neat things related to programming
Updated on Aug 12, 14
Created on Sep 04, 08
Category: Computers & Internet
URL: