]> git.proxmox.com Git - grub2.git/blobdiff - INSTALL
* util/grub-install.c (update_nvram): Support --no-nvram flag
[grub2.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index 16c99da3f1c3f0431d2b8e82d5f901a465a4f876..e81a095e9f292e5b43ca0416351d17c303e85e37 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -12,6 +12,21 @@ you don't have any of them, please obtain and install them before
 configuring the GRUB.
 
 * GCC 4.1.3 or later
+  Note: older versions may work but support is limited
+  Note: clang 3.2 or later works for i386 and x86_64 targets but results in
+        much bigger binaries.
+       earlier versions not tested
+  Note: clang 3.2 or later works for arm
+       earlier versions not tested
+  Note: clang 3.3 or later works for mips(el)
+       earlier versions fail to generate .reginfo and hence gprel relocations
+       fail.
+  Note: clang 3.4 or later works for powerpc
+       earlier versions suffer from vacopy bug (#15286)
+  Note: clang has no support for generating 64-bit sparc code and hence you
+       can't compile GRUB for sparc64 with clang
+  Note: clang has no support for ia64 and hence you can't compile GRUB
+       for ia64 with clang
 * GNU Make
 * GNU Bison 2.3 or later
 * GNU gettext 0.17 or later
@@ -140,7 +155,7 @@ CC=amd64-linux-gnu-gcc CFLAGS="-g -O2" FREETYPE=amd64-linux-gnu-freetype-config
 --target=arm --with-platform=uboot TARGET_CC=arm-elf-gcc
 TARGET_CFLAGS="-Os -march=armv6" TARGET_CCASFLAGS="-march=armv6"
 TARGET_OBJCOPY="arm-elf-objcopy" TARGET_STRIP="arm-elf-strip"
-TARGET_NM=arm-elf-nm LEX=gflex
+TARGET_NM=arm-elf-nm TARGET_RANLIB=arm-elf-ranlib LEX=gflex
 
 You need to use following options to specify tools and platforms. For minimum
 version look at prerequisites. All tools not mentioned in this section under
@@ -177,6 +192,7 @@ corresponding platform are not needed for the platform in question.
     8. TARGET_OBJCOPY= for objcopy for target.
     9. TARGET_STRIP= for strip for target.
     10. TARGET_NM= for nm for target.
+    11. TARGET_RANLIB= for ranlib for target.
 
   - Additionally for emu, for host and target.
     1. SDL is looked for in stadard linker directories (-lSDL) (optional)