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
--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
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)