On 10/06/2015 08:45 PM, William Harrington wrote:
Hello Wayne, Another option for GMP to build a generic library is to use --build during configure. Distros will build GMP for a generic AMD64 or i386 build. Review this page for targets: https://gmplib.org/manual/Build-Options.html You can view what distros excite when configuring their GMP for amd64 and i386 build. I used to build GMP all the time for pentium3 with a 64bit virtual machine and always specified the native build as pentium3, otherwise GMP configure would detect the host CPU and build natively for that. So, instead of copying the FSF files for config sub and guess, specify the cpu target: --build=i686-unknown-linux-gnu --build=x86_64-unknown-linux-gnu It is also good to view the output configure provides for ABI and other information before building. When building GMP in tree with GCC, as in chapter5, it should build a generic target. You can verify that by looking at the config.log in the gmp directory of gcc-build after configuring GCC. Sincerely, William
You mean like this in the log? : ## --------- ## ## Platform. ## ## --------- ## hostname = lfs-computer uname -m = x86_64 uname -r = 3.19.0 uname -s = Linux uname -v = #2 SMP Tue Sep 15 18:44:11 EDT 2015 Wayne Sallee wa...@waynesallee.com -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page