[PLUG] Can't get gcc to compile...
someone
plug_1 at robinson-west.com
Sat Feb 6 22:11:20 UTC 2010
lfs:~/mpfr$ env
TERM=xterm
LIBRARY_PATH=/tools/lib
OLDPWD=/home/lfs
LC_ALL=POSIX
LFS=/home/lfs/LFS
PATH=/tools/bin:/bin:/usr/bin
PWD=/home/lfs/mpfr
LFS_TGT=i686-lfs-linux-gnu
PS1=\u:\w\$
SHLVL=1
HOME=/home/lfs
_=/bin/env
The only thing I added was the LIBRARY_PATH. I'm trying to follow the
linux from scratch book online.
lfs:~/mpfr$ ./configure --prefix=/tools --with-gmp=/tools/include/gmp.h
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for CC and CFLAGS in gmp.h... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/home/lfs/mpfr':
configure: error: C compiler cannot create executables
See `config.log' for more details.
lfs:~/mpfr$
My host system is a Slackware 13 system, but I've specifically created
an LF user to minimize strange behavior caused by the host system.
The instructions appear to call for a direct build of gcc with just
the source directories for gmp and mpfr unpacked, but I get errors
that gmp can't be found when I try to do that.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the PLUG
mailing list