On 31/01/2018 19:55, Thomas Trepl wrote: > Am Mittwoch, den 31.01.2018, 19:16 +0100 schrieb Pierre Labastie:
>> You may want to try adding two flags to binutils' configure: >> --enable-64-bit-bfd >> --enable-targets=x86-64 > > --enable-targets=x86_64 results in a configure error but the --enable- > 64-bit-bfd did work. > > You guys are so ingenious! Thanks, I'm not sure I deserve that... > What did you do to discover this? In binutils doc, namely https://sourceware.org/binutils/docs-2.29/as/i386_002dOptions.html > configure --help doesn't show those switches. That's the same problem as with gcc: there are configure scripts accepting different option in diferent subdirectories. change to the "gas" subdirectory, and try "./configure --help" or maybe also to the "bfs" subdir, etc > Grub compiles fine with > that. Nice! The doc was telling to add the x86-64 target, but it seems overkill in your case. > > Will do another clean build, but for now it looks promising... Good luck Pierre -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
