Advertisement
EricHerman

cross-compiling grub configure

May 7th, 2011
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.50 KB | None | 0 0
  1. lfs@titan:/lfs/build$ tar xf $SOURCES/grub-1.98.tar.gz
  2. lfs@titan:/lfs/build$ cd grub-1.98/
  3. lfs@titan:/lfs/build/grub-1.98$ ./configure --prefix=/usr \
  4. > --build=${CROSS_HOST} \
  5. > --host=${CROSS_TARGET} \
  6. > --sysconfdir=/etc \
  7. > --disable-werror &&
  8. > echo YAY || echo "DARN $?"
  9. checking for a BSD-compatible install... /usr/bin/install -c
  10. checking whether build environment is sane... yes
  11. checking for x86_64-unknown-linux-gnu-strip... x86_64-unknown-linux-gnu-strip
  12. checking for a thread-safe mkdir -p... /bin/mkdir -p
  13. checking for gawk... gawk
  14. checking whether make sets $(MAKE)... yes
  15. checking build system type... i686-cross-linux-gnu
  16. checking host system type... x86_64-unknown-linux-gnu
  17. checking target system type... x86_64-unknown-linux-gnu
  18. checking for cmp... cmp
  19. checking for bison... bison
  20. checking for gawk... (cached) gawk
  21. checking whether make sets $(MAKE)... (cached) yes
  22. checking for ruby... /usr/bin/ruby
  23. checking for makeinfo... /usr/bin/makeinfo
  24. checking for x86_64-unknown-linux-gnu-gcc... x86_64-unknown-linux-gnu-gcc
  25. checking whether the C compiler works... yes
  26. checking for C compiler default output file name... a.out
  27. checking for suffix of executables...
  28. checking whether we are cross compiling... yes
  29. checking for suffix of object files... o
  30. checking whether we are using the GNU C compiler... yes
  31. checking whether x86_64-unknown-linux-gnu-gcc accepts -g... yes
  32. checking for x86_64-unknown-linux-gnu-gcc option to accept ISO C89... none needed
  33. checking for style of include used by make... GNU
  34. checking dependency style of x86_64-unknown-linux-gnu-gcc... none
  35. checking how to run the C preprocessor... x86_64-unknown-linux-gnu-gcc -E
  36. checking for grep that handles long lines and -e... /bin/grep
  37. checking for egrep... /bin/grep -E
  38. checking for ANSI C header files... yes
  39. checking for sys/types.h... yes
  40. checking for sys/stat.h... yes
  41. checking for stdlib.h... yes
  42. checking for string.h... yes
  43. checking for memory.h... yes
  44. checking for strings.h... yes
  45. checking for inttypes.h... yes
  46. checking for stdint.h... yes
  47. checking for unistd.h... yes
  48. checking minix/config.h usability... no
  49. checking minix/config.h presence... no
  50. checking for minix/config.h... no
  51. checking whether it is safe to define __EXTENSIONS__... yes
  52. checking whether NLS is requested... yes
  53. checking for msgfmt... /usr/bin/msgfmt
  54. checking for gmsgfmt... /usr/bin/msgfmt
  55. checking for xgettext... /usr/bin/xgettext
  56. checking for msgmerge... /usr/bin/msgmerge
  57. checking for ld used by GCC... x86_64-unknown-linux-gnu-ld
  58. checking if the linker (x86_64-unknown-linux-gnu-ld) is GNU ld... yes
  59. checking for shared library run path origin... done
  60. checking for CFPreferencesCopyAppValue... no
  61. checking for CFLocaleCopyCurrent... no
  62. checking for GNU gettext in libc... yes
  63. checking whether to use NLS... yes
  64. checking where the gettext function comes from... libc
  65. checking for special C compiler options needed for large files... no
  66. checking for _FILE_OFFSET_BITS value needed for large files... no
  67. checking whether byte ordering is bigendian... no
  68. checking size of void *... 8
  69. checking size of long... 8
  70. checking whether our compiler is apple cc... no
  71. configure: WARNING: cannot generate manual pages while cross compiling
  72. checking for posix_memalign... yes
  73. checking for memalign... yes
  74. checking for asprintf... yes
  75. checking for vasprintf... yes
  76. checking whether sys/types.h defines makedev... yes
  77. checking for dirent.h that defines DIR... yes
  78. checking for library containing opendir... none required
  79. checking for memmove... yes
  80. checking for sbrk... yes
  81. checking for strdup... yes
  82. checking for lstat... yes
  83. checking for getuid... yes
  84. checking for getgid... yes
  85. checking sys/mkdev.h usability... no
  86. checking sys/mkdev.h presence... no
  87. checking for sys/mkdev.h... no
  88. checking sys/sysmacros.h usability... yes
  89. checking sys/sysmacros.h presence... yes
  90. checking for sys/sysmacros.h... yes
  91. checking malloc.h usability... yes
  92. checking malloc.h presence... yes
  93. checking for malloc.h... yes
  94. checking termios.h usability... yes
  95. checking termios.h presence... yes
  96. checking for termios.h... yes
  97. checking for sys/types.h... (cached) yes
  98. checking for unistd.h... (cached) yes
  99. checking for string.h... (cached) yes
  100. checking for strings.h... (cached) yes
  101. checking for sys/stat.h... (cached) yes
  102. checking sys/fcntl.h usability... yes
  103. checking sys/fcntl.h presence... yes
  104. checking for sys/fcntl.h... yes
  105. checking limits.h usability... yes
  106. checking limits.h presence... yes
  107. checking for limits.h... yes
  108. checking for x86_64-unknown-linux-gnu-objcopy... x86_64-unknown-linux-gnu-objcopy
  109. checking for x86_64-unknown-linux-gnu-strip... (cached) x86_64-unknown-linux-gnu-strip
  110. checking for x86_64-unknown-linux-gnu-nm... x86_64-unknown-linux-gnu-nm
  111. checking whether -falign-loops works... yes
  112. checking whether -fno-dwarf2-cfi-asm works... yes
  113. checking whether our target compiler is apple cc... no
  114. checking for command to convert module to ELF format...
  115. checking whether `x86_64-unknown-linux-gnu-gcc' generates calls to `__enable_execute_stack()'... no
  116. checking whether `x86_64-unknown-linux-gnu-gcc' has `-fPIE' as default... no
  117. checking whether `x86_64-unknown-linux-gnu-gcc' accepts `-fstack-protector'... yes
  118. checking whether `x86_64-unknown-linux-gnu-gcc' accepts `-mstack-arg-probe'... yes
  119. checking for __bswapsi2... no
  120. checking for __bswapdi2... no
  121. checking for __ashldi3... no
  122. checking for __ashrdi3... no
  123. checking for __lshrdi3... no
  124. checking for __trampoline_setup... no
  125. checking for __ucmpdi2... no
  126. checking for _restgpr_14_x... no
  127. checking whether target compiler is working... yes
  128. checking whether x86_64-unknown-linux-gnu-objcopy works for absolute addresses... yes
  129. checking whether linker accepts --build-id=none... yes
  130. checking if C symbols get an underscore after compilation... no
  131. checking if __bss_start is defined by the compiler... yes
  132. checking if edata is defined by the compiler... yes
  133. checking if _edata is defined by the compiler... yes
  134. checking if end is defined by the compiler... yes
  135. checking if _end is defined by the compiler... yes
  136. checking whether addr32 must be in the same line as the instruction... yes
  137. checking for .code16 addr32 assembler support... yes
  138. checking whether an absolute indirect call/jump must not be prefixed with an asterisk... no
  139. checking whether options required for efiemu work... yes
  140. checking whether -nostdinc -isystem works... yes
  141. checking for freetype-config... no
  142. ./configure: line 9823: freetype-config: command not found
  143. ./configure: line 9824: freetype-config: command not found
  144. checking whether ln can handle directories properly... yes
  145. configure: creating ./config.status
  146. config.status: creating Makefile
  147. config.status: creating gensymlist.sh
  148. config.status: creating genkernsyms.sh
  149. config.status: creating stamp-h
  150. config.status: creating config.h
  151. config.status: linking include/grub/i386 to include/grub/cpu
  152. config.status: linking include/grub/i386/pc to include/grub/machine
  153. config.status: executing depfiles commands
  154. config.status: executing po-directories commands
  155. *******************************************************
  156. GRUB2 will be compiled with following components:
  157. Platform: i386-pc
  158. With memory debugging: No
  159. efiemu runtime: Yes
  160. grub-fstest: Yes
  161. grub-mkfont: No (need freetype2 library)
  162. *******************************************************
  163. YAY
  164. lfs@titan:/lfs/build/grub-1.98$ head config.log | grep prefix
  165. $ ./configure --prefix=/usr --build=i686-cross-linux-gnu --host=x86_64-unknown-linux-gnu --sysconfdir=/etc --disable-werror
  166. lfs@titan:/lfs/build/grub-1.98$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement