请输入您要查询的百科知识:

 

词条 Draft:Gconfig
释义

  1. History

  2. Dependencies

  3. gconfig in the kernel-build workflow

     simple (but effective) workflow 

  4. See also

  5. References

  6. External links

{{AFC submission|d|v|u=1stpangu|ns=118|decliner=K.e.coffman|declinets=20181022030703|ts=20180911120046}} {{Lowercase|gconfig}}{{Infobox software
| name = gconfig
| title =
| logo =
| logo caption =
| screenshot = Linux x86 4.18.7 Kernel Configuration Using make gconfig.png
| caption = gconfig for Linux version 4.18.7
| collapsible =
| author =
| developer =
| released =
| discontinued =
| latest release version =
| latest release date =
| latest preview version =
| latest preview date =
| programming language = C
| operating system = GNU/Linux
| platform =
| size =
| language =
| genre = build automation tool
| license = GNU General Public License
| alexa =
| website = {{URL|www.kernel.org}}
}}

make gconfig is one of five similar tools that can configure Linux source,

a necessary early step needed to compile the source code.

make gconfig, with graphical user interface using GTK+,

allows the user to use computer mouse to choose the features of Linux (and other options) that will be compiled.

It is normally invoked using the command make gconfig, gconfig is a target in Linux Makefile.

History

make menuconfig was not in the first version of Linux.

The predecessor tool is a question-and-answer-based utility (make config, make oldconfig).

A third tool for Linux configuration is make menuconfig,

which uses a ncurses-based pseudo-graphical menu (only text input) to navigate through the menu to modify the desired options.

The forth tool is make xconfig which also have the graphical menu as gconfig but requires Qt.

There is also make nconfig, which is similar to make menuconfig.

All these tools use internally Kconfig language.

Kconfig is also used in other projects,

such as bootloader Das U-Boot and tool for generating embedded Linux systems Buildroot.

{{anchor|Requisites/Dependencies}}

Dependencies

To use make gconfig,

Linux source is a requirement,

a make tool,

a C compiler

and the GTK+ 2.0 development package.

To install it on Ubuntu, type:

sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev

gconfig in the kernel-build workflow

The user is encouraged to read the GNU/Linux [https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/README.rst README], since there are also many other make targets (beyond modules_install and install). Each will configure the kernel, but with different features activated, or using a different interactive interface.

simple (but effective) workflow

  1. make gconfig
  2. Next build the compressed kernel and its modules, a long process. make.
  3. Install using your favorite method such as make modules_install, make install.

See also

  • GNU Compiler Collection

References

{{Reflist|2}}{{Refbegin|2}}
  • The make gconfig tool itself.
  • Linux From Scratch
  • How to Build a Minimal Linux System
  • Creating custom kernels with Debian's kernel-package system
  • Cross compiling Linux on IBM System z
  • How to roll your own Linux
  • Building A Kernel The Traditional Way
  • The Linux Kernel HOWTO
  • [https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt Kconfig language]
{{Refend}}

External links

{{Wikibooks|Linux kernel}}{{Commons}}
  • The Linux Kernel Archives
{{Linux kernel}}
随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/29 10:19:02