Linux ?? build.c in command-line parameters argv [3] to none, how to …

build.c command line parameters to be bootsect, setup and the system's core document, the three will be simple to do after finishing together into the Image.One system is the third parameter (argv [3]).When “make all “Or” makeall “, the parameters over-the correct file name, build.c will open it, the content will be written into the Image.And” make BootImage “, over-the string is” none “.So , Build.c transformation of the idea is that when argv [3] is “none”, only to write bootsect and setup, and ignore all the system work, or write in the system are written on the location of the “0”.

I am learning linux, some do not understand how to achieve “just write bootsect and setup”

Leave a Reply