CLFS-6.3. GMP-4.2.4 will not compile
gmp is not finding my GCC I compiled in section 5. Any help would greatly be appreciated.
clfs@debian:/mnt/clfs/sources/gmp-4.2.4$ CC="${CC} ${BUILD64}" CXX="${CXX} ${BUILD64}" \ > ./configure --prefix=/tools \ > --build=${CLFS_HOST} --host=${CLFS_TARGET} \ > --libdir=/tools/lib64 --enable-cxx \ > --enable-mpbsd checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=64 checking compiler -gcc ... no checking ABI=32 checking compiler -gcc ... no configure: error: could not find a working compiler, see config.log for details |
Hi,
Are you building LFS or CLFS and which version? Which book are you using? Which chapter is giving you troubles? You mention CLFS and I do see a BUILD64 variable, but there is no CLFS 6.3 (version 1.1 is the stable CLFS atm). I also don't find any mention of gmp in either of the 3 CLFS docs (32 Bit Builds / Intel/AMD x86 or 64 Bit Builds / x86_64 or Multilib Builds / x86_64) and I'm assuming you don't have a powerpc. I do find a mention of gmp in LFS 6.3, but that's chapter 6 not in 'section 5', but that's not x86_64 related..... Could you give us some more info please? |
6.3 was chapter/section from
Cross-Compiled Linux From Scratch - Version SVN-20090602-x86_64-Multilib Chapter 6. Constructing a Temporary System chapter 6.3. GMP-4.2.4 Chapter 5 was mentioned because I believe that it using the cross-tools and tools built in chapter 5 now instead of my debian host system. Since I.m not that far into this one, I think I'll start over. |
Hi again,
Found it! (Maybe post a link to the page next time ;) ) I'm not entirely sure, but this looks wrong to me: checking compiler -gcc... no Shouldn't that be gcc instead of -gcc? If nothing went wrong in the previous chapters then I think you should check if all the variables are set correctly (CLFS_HOST, CC, etc). |
I didn't use the online book and couldn't find it. Any how I started over and this time everything worked the way it was suppose too. Thanks for your help.
|
Hi,
The on-line book is a bit hard to find, take a look here if you are interested: SVN-20090606-x86_64 / Multilib BTW: You're welcome ;) |
All times are GMT -5. The time now is 01:11 PM. |