问题描述
我正在尝试使用 Bash 脚本编译 binutils。
#!/bin/bash
export LFS=/mnt/lfs
export MAKEFLAGS='-j8'
export LFS_TGT=x86_64-lfs-linux-gnu
cd $LFS/sources/ # Path that contains the Tarball
tar -xf binutils-2.36.1.tar.xz
cd binutils-2.36.1
mkdir -v build
cd build
../configure --prefix=$LFS/tools \
--with-sysroot=$LFS \
--target=$LFS_TGT \
--disable-nls \
--disable-werror
make
make install
运行脚本后,它因错误而停止:
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/mnt/lfs/sources/binutils-2.36.1/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
脚本在“../configure”部分失败,我也尝试以 root 身份运行脚本,以检查用户是否没有所需的权限,但它仍然不起作用。
在终端中没有错误,我复制了整个脚本并粘贴了它。
我使用的是 Debian 10 Cinnamon。
This file contains any messages produced by compilers while
running configure,to aid debugging if configure makes a mistake.
It was created by configure,which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ../configure --prefix=/mnt/lfs/tools --with-sysroot=/mnt/lfs --target=x86_64-lfs-linux-gnu --disable-nls --disable-werror
## --------- ##
## Platform. ##
## --------- ##
hostname = ReaTekSys
uname -m = x86_64
uname -r = 5.10.0-0.bpo.3-amd64
uname -s = Linux
uname -v = #1 SMP Debian 5.10.13-1~bpo10+1 (2021-02-11)
/usr/bin/uname -p = unkNown
/bin/uname -X = unkNown
/bin/arch = x86_64
/usr/bin/arch -k = unkNown
/usr/convex/getsysinfo = unkNown
/usr/bin/hostinfo = unkNown
/bin/machine = unkNown
/usr/bin/oslevel = unkNown
/bin/universe = unkNown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/games
PATH: /usr/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2340: checking build system type
configure:2354: result: x86_64-pc-linux-gnu
configure:2401: checking host system type
configure:2414: result: x86_64-pc-linux-gnu
configure:2434: checking target system type
configure:2447: result: x86_64-lfs-linux-gnu
configure:2501: checking for a BSD-compatible install
configure:2569: result: /usr/bin/install -c
configure:2580: checking whether ln works
configure:2602: result: yes
configure:2606: checking whether ln -s works
configure:2610: result: yes
configure:2617: checking for a sed that does not truncate output
configure:2681: result: /usr/bin/sed
configure:2690: checking for gawk
configure:2706: found /usr/bin/gawk
configure:2717: result: gawk
configure:4056: checking for gcc
configure:4072: found /usr/bin/gcc
configure:4083: result: gcc
configure:4312: checking for C compiler version
configure:4321: gcc --version >&5
gcc (Debian 8.3.0-6) 8.3.0
copyright (C) 2018 Free Software Foundation,Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or fitness FOR A PARTIculaR PURPOSE.
configure:4332: $? = 0
configure:4321: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-6)
configure:4332: $? = 0
configure:4321: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: Fatal error: no input files
compilation terminated.
configure:4332: $? = 1
configure:4321: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: Fatal error: no input files
compilation terminated.
configure:4332: $? = 1
configure:4352: checking whether the C compiler works
configure:4374: gcc conftest.c >&5
configure:4378: $? = 0
configure:4426: result: yes
configure:4429: checking for C compiler default output file name
configure:4431: result: a.out
configure:4437: checking for suffix of executables
configure:4444: gcc -o conftest conftest.c >&5
configure:4448: $? = 0
configure:4470: result:
configure:4492: checking whether we are cross compiling
configure:4500: gcc -o conftest conftest.c >&5
configure:4504: $? = 0
configure:4511: ./conftest
configure:4515: $? = 0
configure:4503: result: no
configure:4508: checking for suffix of object files
configure:4530: gcc -c conftest.c >&5
configure:4534: $? = 0
configure:4555: result: o
configure:4559: checking whether we are using the GNU C compiler
configure:4578: gcc -c conftest.c >&5
configure:4578: $? = 0
configure:4587: result: yes
configure:4596: checking whether gcc accepts -g
configure:4616: gcc -c -g conftest.c >&5
configure:4616: $? = 0
configure:4657: result: yes
configure:4674: checking for gcc option to accept ISO C89
configure:4737: gcc -c -g -O2 conftest.c >&5
configure:4737: $? = 0
configure:4750: result: none needed
configure:4828: checking for g++
configure:4844: found /usr/bin/g++
configure:4855: result: g++
configure:4882: checking for C++ compiler version
configure:4891: g++ --version >&5
g++ (Debian 8.3.0-6) 8.3.0
copyright (C) 2018 Free Software Foundation,Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or fitness FOR A PARTIculaR PURPOSE.
configure:4902: $? = 0
configure:4891: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 8.3.0 (Debian 8.3.0-6)
configure:4902: $? = 0
configure:4891: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: Fatal error: no input files
compilation terminated.
configure:4902: $? = 1
configure:4891: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: Fatal error: no input files
compilation terminated.
configure:4902: $? = 1
configure:4906: checking whether we are using the GNU C++ compiler
configure:4925: g++ -c conftest.cpp >&5
configure:4925: $? = 0
configure:4934: result: yes
configure:4943: checking whether g++ accepts -g
configure:4963: g++ -c -g conftest.cpp >&5
configure:4963: $? = 0
configure:5004: result: yes
configure:5053: checking whether g++ accepts -static-libstdc++ -static-libgcc
configure:5070: g++ -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.cpp >&5
configure:5070: $? = 0
configure:5071: result: yes
configure:5135: checking for gnatbind
configure:5165: result: no
configure:5227: checking for gnatmake
configure:5257: result: no
configure:5276: checking whether compiler driver understands Ada
configure:5299: result: no
configure:5308: checking how to compare bootstrapped objects
configure:5333: result: cmp --ignore-initial=16 $$f1 $$f2
configure:5393: checking for objdir
configure:5408: result: .libs
configure:5974: checking for isl 0.15 or later
configure:5987: gcc -o conftest -g -O2 -lisl -lmpc -lmpfr -lgmp conftest.c -lisl -lgmp >&5
conftest.c:10:10: Fatal error: isl/schedule.h: No such file or directory
#include <isl/schedule.h>
^~~~~~~~~~~~~~~~
compilation terminated.
configure:5987: $? = 1
configure: Failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBjdiR ".libs/"
| /* end confdefs.h. */
| #include <isl/schedule.h>
| int
| main ()
| {
| isl_options_set_schedule_serialize_sccs (NULL,0);
| ;
| return 0;
| }
configure:5994: result: no
configure:5998: result: required isl version is 0.15 or later
configure:7091: checking for default BUILD_CONfig
configure:7123: result:
configure:7128: checking for --enable-vtable-verify
configure:7141: result: no
configure:7753: checking for bison
configure:7769: found /usr/bin/bison
configure:7780: result: bison -y
configure:7800: checking for bison
configure:7816: found /usr/bin/bison
configure:7827: result: bison
configure:7847: checking for gm4
configure:7877: result: no
configure:7847: checking for gnum4
configure:7877: result: no
configure:7847: checking for m4
configure:7863: found /usr/bin/m4
configure:7874: result: m4
configure:7894: checking for flex
configure:7924: result: no
configure:7894: checking for lex
configure:7924: result: no
configure:7942: checking for flex
configure:7972: result: no
configure:7989: checking for makeinfo
configure:8005: found /usr/bin/makeinfo
configure:8016: result: makeinfo
configure:8050: checking for expect
configure:8080: result: no
configure:8099: checking for runtest
configure:8129: result: no
configure:8244: checking for ar
configure:8260: found /usr/bin/ar
configure:8271: result: ar
configure:8385: checking for as
configure:8401: found /usr/bin/as
configure:8412: result: as
configure:8526: checking for dlltool
configure:8556: result: no
configure:8667: checking for ld
configure:8683: found /usr/bin/ld
configure:8694: result: ld
configure:8808: checking for lipo
configure:8838: result: no
configure:8949: checking for nm
configure:8965: found /usr/bin/nm
configure:8976: result: nm
configure:9090: checking for ranlib
configure:9106: found /usr/bin/ranlib
configure:9117: result: ranlib
configure:9226: checking for strip
configure:9242: found /usr/bin/strip
configure:9253: result: strip
configure:9362: checking for windres
configure:9392: result: no
configure:9503: checking for windmc
configure:9533: result: no
configure:9644: checking for objcopy
configure:9660: found /usr/bin/objcopy
configure:9671: result: objcopy
configure:9785: checking for objdump
configure:9801: found /usr/bin/objdump
configure:9812: result: objdump
configure:9926: checking for readelf
configure:9942: found /usr/bin/readelf
configure:9953: result: readelf
configure:10067: checking for x86_64-lfs-linux-gnu-cc
configure:10097: result: no
configure:10067: checking for x86_64-lfs-linux-gnu-gcc
configure:10097: result: no
configure:10228: checking for x86_64-lfs-linux-gnu-c++
configure:10258: result: no
configure:10228: checking for x86_64-lfs-linux-gnu-g++
configure:10258: result: no
configure:10228: checking for x86_64-lfs-linux-gnu-cxx
configure:10258: result: no
configure:10228: checking for x86_64-lfs-linux-gnu-gxx
configure:10258: result: no
configure:10389: checking for x86_64-lfs-linux-gnu-gcc
configure:10419: result: no
configure:10545: checking for x86_64-lfs-linux-gnu-gfortran
configure:10575: result: no
configure:10706: checking for x86_64-lfs-linux-gnu-gccgo
configure:10736: result: no
configure:10947: checking for x86_64-lfs-linux-gnu-ar
configure:10977: result: no
configure:11177: checking for x86_64-lfs-linux-gnu-as
configure:11207: result: no
configure:11407: checking for x86_64-lfs-linux-gnu-dlltool
configure:11437: result: no
configure:11637: checking for x86_64-lfs-linux-gnu-ld
configure:11667: result: no
configure:11867: checking for x86_64-lfs-linux-gnu-lipo
configure:11897: result: no
configure:12097: checking for x86_64-lfs-linux-gnu-nm
configure:12127: result: no
configure:12327: checking for x86_64-lfs-linux-gnu-objcopy
configure:12357: result: no
configure:12557: checking for x86_64-lfs-linux-gnu-objdump
configure:12587: result: no
configure:12787: checking for x86_64-lfs-linux-gnu-ranlib
configure:12817: result: no
configure:13017: checking for x86_64-lfs-linux-gnu-readelf
configure:13047: result: no
configure:13247: checking for x86_64-lfs-linux-gnu-strip
configure:13277: result: no
configure:13477: checking for x86_64-lfs-linux-gnu-windres
configure:13507: result: no
configure:13707: checking for x86_64-lfs-linux-gnu-windmc
configure:13737: result: no
configure:13804: checking where to find the target ar
configure:13827: result: just compiled
configure:13846: checking where to find the target as
configure:13869: result: just compiled
configure:13888: checking where to find the target cc
configure:13925: result: pre-installed
configure:13930: checking where to find the target c++
configure:13970: result: pre-installed
configure:13975: checking where to find the target c++ for libstdc++
configure:14015: result: pre-installed
configure:14020: checking where to find the target dlltool
configure:14043: result: just compiled
configure:14062: checking where to find the target gcc
configure:14099: result: pre-installed
configure:14104: checking where to find the target gfortran
configure:14144: result: pre-installed
configure:14149: checking where to find the target gccgo
configure:14189: result: pre-installed
configure:14194: checking where to find the target ld
configure:14217: result: just compiled
configure:14236: checking where to find the target lipo
configure:14262: result: pre-installed
configure:14267: checking where to find the target nm
configure:14290: result: just compiled
configure:14309: checking where to find the target objcopy
configure:14332: result: just compiled
configure:14351: checking where to find the target objdump
configure:14374: result: just compiled
configure:14393: checking where to find the target ranlib
configure:14416: result: just compiled
configure:14435: checking where to find the target readelf
configure:14458: result: just compiled
configure:14477: checking where to find the target strip
configure:14500: result: just compiled
configure:14519: checking where to find the target windres
configure:14542: result: just compiled
configure:14561: checking where to find the target windmc
configure:14584: result: just compiled
configure:14631: checking whether to enable maintainer-specific portions of Makefiles
configure:14640: result: no
configure:14875: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status,which was
generated by GNU Autoconf 2.69. Invocation command line was
CONfig_FILES =
CONfig_HEADERS =
CONfig_LINKS =
CONfig_COMMANDS =
$ ./config.status
on ReaTekSys
config.status:970: creating Makefile
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set=
ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set=
ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_GOC_FOR_TARGET_set=
ac_cv_env_GOC_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set=
ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set=
ac_cv_env_NM_value=
ac_cv_env_OBJcopY_FOR_TARGET_set=
ac_cv_env_OBJcopY_FOR_TARGET_value=
ac_cv_env_OBJcopY_set=
ac_cv_env_OBJcopY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_READELF_FOR_TARGET_set=
ac_cv_env_READELF_FOR_TARGET_value=
ac_cv_env_READELF_set=
ac_cv_env_READELF_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_build_configargs_set=
ac_cv_env_build_configargs_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_host_configargs_set=
ac_cv_env_host_configargs_value=
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-lfs-linux-gnu
ac_cv_env_target_configargs_set=
ac_cv_env_target_configargs_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_LD=ld
ac_cv_prog_M4=m4
ac_cv_prog_MAKEINFO=makeinfo
ac_cv_prog_NM=nm
ac_cv_prog_OBJcopY=objcopy
ac_cv_prog_OBJDUMP=objdump
ac_cv_prog_RANLIB=ranlib
ac_cv_prog_READELF=readelf
ac_cv_prog_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_target=x86_64-lfs-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_isl=no
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=
gcc_cv_tool_prefix=/mnt/lfs/tools
lt_cv_objdir=.libs
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
AWK='gawk'
BISON='bison'
BUILD_CONfig=''
CC='gcc'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='x86_64-lfs-linux-gnu-cc'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
CFLAGS_FOR_TARGET='-g -O2'
COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
CONfigURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXXFLAGS_FOR_TARGET='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='x86_64-lfs-linux-gnu-c++'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DLT_OBjdiR=\".libs/\"'
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
FLAGS_FOR_TARGET=' -L$$r/$(HOST_SUBDIR)/ld'
FLEX='/mnt/lfs/sources/binutils-2.36.1/missing flex'
GCC_FOR_TARGET='x86_64-lfs-linux-gnu-gcc'
GCC_SHLIB_SUBDIR=''
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='x86_64-lfs-linux-gnu-gfortran'
GNATBIND='no'
GNATMAKE='no'
GOC_FOR_BUILD='$(GOC)'
GOC_FOR_TARGET='x86_64-lfs-linux-gnu-gccgo'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LDFLAGS_FOR_TARGET=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
LEX='/mnt/lfs/sources/binutils-2.36.1/missing flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='x86_64-lfs-linux-gnu-lipo'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
OBJcopY='objcopy'
OBJcopY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEParaTOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
RAW_CXX_FOR_TARGET='x86_64-lfs-linux-gnu-c++'
READELF='readelf'
READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SED='/usr/bin/sed'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONfigURE_ARGUMENTS='../configure --prefix=/mnt/lfs/tools --with-sysroot=/mnt/lfs --target=x86_64-lfs-linux-gnu --disable-nls --disable-werror'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
YACC='bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_configargs=' --cache-file=./config.cache '\''--prefix=/mnt/lfs/tools'\'' '\''--with-sysroot=/mnt/lfs'\'' '\''--disable-nls'\'' '\''--disable-werror'\'' --program-transform-name='\''s&^&x86_64-lfs-linux-gnu-&'\'' --disable-option-checking'
build_configdirs=' libiberty'
build_cpu='x86_64'
build_libsubdir='build-x86_64-pc-linux-gnu'
build_noncanonical='x86_64-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-pc-linux-gnu'
build_tooldir='${exec_prefix}/x86_64-lfs-linux-gnu'
build_vendor='pc'
compare_exclusions='gcc/cc*-checksum$(objext) | gcc/ada/*tools/*'
configdirs=' intl libiberty opcodes bfd zlib libctf binutils gas ld gprof etc'
datadir='${daTarootdir}'
daTarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${daTarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
extra_host_libiberty_configure_flags=''
extra_host_zlib_configure_flags=''
extra_isl_gmp_configure_flags=''
extra_liboffloadmic_configure_flags=''
extra_linker_plugin_configure_flags=''
extra_linker_plugin_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
get_gcc_base_ver='cat'
gmpinc=''
gmplibs='-lmpc -lmpfr -lgmp'
host='x86_64-pc-linux-gnu'
host_alias=''
host_configargs=' --cache-file=./config.cache --with-gnu-as --with-gnu-ld '\''--prefix=/mnt/lfs/tools'\'' '\''--with-sysroot=/mnt/lfs'\'' '\''--disable-nls'\'' '\''--disable-werror'\'' --program-transform-name='\''s&^&x86_64-lfs-linux-gnu-&'\'' --disable-option-checking'
host_cpu='x86_64'
host_noncanonical='x86_64-pc-linux-gnu'
host_os='linux-gnu'
host_shared='no'
host_subdir='.'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${daTarootdir}/info'
islinc=''
isllibs=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${daTarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${daTarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags='-static-libstdc++ -static-libgcc'
poststage1_libs=''
prefix='/mnt/lfs/tools'
program_transform_name='s&^&x86_64-lfs-linux-gnu-&'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g'
stage1_checking='--enable-checking=yes,types'
stage1_languages=',c,'
stage1_ldflags=''
stage1_libs=''
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-lfs-linux-gnu'
target_alias='x86_64-lfs-linux-gnu'
target_configargs='--cache-file=./config.cache --enable-multilib --with-cross-host=x86_64-pc-linux-gnu '\''--prefix=/mnt/lfs/tools'\'' '\''--with-sysroot=/mnt/lfs'\'' '\''--disable-nls'\'' '\''--disable-werror'\'' --program-transform-name='\''s&^&x86_64-lfs-linux-gnu-&'\'' --disable-option-checking'
target_configdirs=''
target_cpu='x86_64'
target_noncanonical='x86_64-lfs-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-lfs-linux-gnu'
target_vendor='lfs'
tooldir='${exec_prefix}/x86_64-lfs-linux-gnu'
## ------------------- ##
## File substitutions. ##
## ------------------- ##
alphaieee_frag='/dev/null'
host_makefile_frag='/dev/null'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../config/mt-gnu'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LT_OBjdiR ".libs/"
configure: exit 0
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)