MAJOR=4 MINOR=30 DEVNAME=tty30 :ˆl–ßi~”d C]Ši@¿q–®6Ú˜´o¿ „}Ïa–Ü4ý('TËmJq@ àEpM©‹FÿÅ)-*- Text -*- This is the GRUB. Welcome. This file contains instructions for compiling and installing the GRUB. The Requirements ================ GRUB depends on some software packages installed into your system. If you don't have any of them, please obtain and install them before configuring the GRUB. * GCC 5.1.0 or later Experimental support for clang 3.8.0 or later (results in much bigger binaries) for i386, x86_64, arm (including thumb), arm64, mips(el), powerpc, sparc64 * GNU Make * GNU Bison 2.3 or later * GNU gettext 0.17 or later * GNU binutils 2.9.1.0.23 or later * Flex 2.5.35 or later * Other standard GNU/Unix tools On GNU/Linux, you also need: * libdevmapper 1.02.34 or later (recommended) For optional grub-emu features, you need: * SDL (recommended) * libpciaccess (optional) * libusb (optional) To build GRUB's graphical terminal (gfxterm), you need: * FreeType 2 or later * GNU Unifont If you use a development snapshot or want to hack on GRUB you may need the following. * Python 2.6 or later * Autoconf 2.60 or later * Automake 1.10.1 or later Prerequisites for make-check: * qemu, specifically the binary 'qemu-system-i386' * xorriso 1.2.9 or later, for grub-mkrescue and grub-shell Configuring the GRUB ==================== The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' is used to create `configure' by a program called `autoconf'. You only need `configure.in' if you want to change it or regenerate `configure' using a newer version of `autoconf'. Building the GRUB ================= The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code. 2. Skip this and following step if you use release tarball and proceed to step 4. If you want translations type `./linguas.sh'. 3. Type `./autogen.sh'. 4. Type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 6. Type `make' to compile the package. 7. Optionally, type `make check' to run any self-tests that come with the package. 8. Type `make install' to install the programs and any data files and documentation. 9. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Cross-compiling the GRUB ======================== GRUB defines 3 platforms: - "Build" is the one which build systems runs on. - "Host