As previously mentioned I wiped and installed a clean debian. I did a absolute minimum default install no desktop etc compiled the latest stable musl, m4, gmp, mpfr, mpc, and downloaded gcc 4.7.3 with gregorr/musl-cross patch to match. I ran the build based on the commands i found in his script and even tried passing --disable-werror to no avail (it helped on binutils so i figured it was worth a shot). Libgcc still errors out when using --target. Its having a problem finding/using libmpc.so.3 but the paths appear to point to the directory which it is located. to be sure i even specified using the --with-mpc flag. If you could please take a moment to help me with this i would appreciate it. Libmpc is in /root/cross/i686-linux-musl/lib and i have copied my config.log from the libgcc directory below This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU C Runtime Library configure 1.0, which was generated by GNU Autoconf 2.64. Invocation command line was $ /root/code/gcc/libgcc/configure --cache-file=./config.cache --enable-multilib --with-cross-host=i686-pc-linux-gnu --prefix=/root/cross --with-newlib --disable-libssp --disable-nls --disable-libquadmath --disable-threads --disable-decimal-float --disable-shared --disable-libmudflap --disable-libgomp --disable-libatomic --disable-werror --enable-languages=c,lto --program-transform-name=s&^&i686-linux-musl-& --disable-option-checking --with-target-subdir=i686-linux-musl --build=i686-pc-linux-gnu --host=i686-linux-musl --target=i686-linux-musl --srcdir=../../../gcc/libgcc ## --------- ## ## Platform. ## ## --------- ## hostname = Stephen-linux uname -m = i686 uname -r = 3.2.0-4-686-pae uname -s = Linux uname -v = #1 SMP Debian 3.2.60-1+deb7u3 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /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/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1976: creating cache ./config.cache configure:2144: checking build system type configure:2158: result: i686-pc-linux-gnu configure:2178: checking host system type configure:2191: result: i686-pc-linux-musl configure:2289: checking for --enable-version-specific-runtime-libs configure:2302: result: no configure:2350: checking for a BSD-compatible install configure:2418: result: /usr/bin/install -c configure:2434: checking for gawk configure:2461: result: mawk configure:2561: checking for i686-linux-musl-ar configure:2588: result: i686-linux-musl-ar configure:2653: checking for i686-linux-musl-lipo configure:2680: result: i686-linux-musl-lipo configure:2745: checking for i686-linux-musl-nm configure:2772: result: /root/code/gcc-build/./gcc/nm configure:2837: checking for i686-linux-musl-ranlib configure:2864: result: i686-linux-musl-ranlib configure:2929: checking for i686-linux-musl-strip configure:2956: result: i686-linux-musl-strip configure:3018: checking whether ln -s works configure:3022: result: yes configure:3039: checking for i686-linux-musl-gcc configure:3066: result: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include configure:3335: checking for C compiler version configure:3344: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include --version >&5 xgcc (GCC) 4.7.3 Copyright (C) 2012 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:3355: $? = 0 configure:3344: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include -v >&5 Reading specs from /root/code/gcc-build/./gcc/specs COLLECT_GCC=/root/code/gcc-build/./gcc/xgcc COLLECT_LTO_WRAPPER=/root/code/gcc-build/./gcc/lto-wrapper Target: i686-linux-musl Configured with: ../gcc/configure --prefix=/root/cross --enable-languages=c --with-newlib --disable-libssp --disable-nls --disable-libquadmath --disable-threads --disable-decimal-float --disable-shared --disable-libmudflap --disable-libgomp --disable-libatomic --disable-werror --target=i686-linux-musl Thread model: single gcc version 4.7.3 (GCC) configure:3355: $? = 0 configure:3344: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include -V >&5 xgcc: error: unrecognized command line option '-V' xgcc: fatal error: no input files compilation terminated. configure:3355: $? = 1 configure:3344: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include -qversion >&5 xgcc: error: unrecognized command line option '-qversion' xgcc: fatal error: no input files compilation terminated. configure:3355: $? = 1 configure:3371: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include -o conftest -g -O2 conftest.c >&5 /root/code/gcc-build/./gcc/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory configure:3374: $? = 1 configure:3562: checking for suffix of object files configure:3584: /root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include -c -g -O2 conftest.c >&5 /root/code/gcc-build/./gcc/cc1: error while loading shared libraries: libmpc.so.3: cannot open shared object file: No such file or directory configure:3588: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Runtime Library" | #define PACKAGE_TARNAME "libgcc" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU C Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3602: error: in `/root/code/gcc-build/i686-linux-musl/libgcc': configure:3605: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_env_CC_set=set ac_cv_env_CC_value='/root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include ' ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=i686-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i686-linux-musl ac_cv_host=i686-pc-linux-musl ac_cv_prog_AR=i686-linux-musl-ar ac_cv_prog_AWK=mawk ac_cv_prog_CC='/root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include ' ac_cv_prog_LIPO=i686-linux-musl-lipo ac_cv_prog_NM=/root/code/gcc-build/./gcc/nm ac_cv_prog_RANLIB=i686-linux-musl-ranlib ac_cv_prog_STRIP=i686-linux-musl-strip ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='i686-linux-musl-ar' AWK='mawk' CC='/root/code/gcc-build/./gcc/xgcc -B/root/code/gcc-build/./gcc/ -B/root/cross/i686-linux-musl/bin/ -B/root/cross/i686-linux-musl/lib/ -isystem /root/cross/i686-linux-musl/include -isystem /root/cross/i686-linux-musl/sys-include ' CFLAGS='-g -O2' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' LDFLAGS='' LIBOBJS='' LIBS='' LIPO='i686-linux-musl-lipo' LN_S='ln -s' LTLIBOBJS='' MAINT='#' NM='/root/code/gcc-build/./gcc/nm' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='GNU C Runtime Library' PACKAGE_STRING='GNU C Runtime Library 1.0' PACKAGE_TARNAME='libgcc' PACKAGE_URL='http://www.gnu.org/software/libgcc/' PACKAGE_VERSION='1.0' PATH_SEPARATOR=':' PICFLAG='-fpic' RANLIB='i686-linux-musl-ranlib' SHELL='/bin/bash' STRIP='i686-linux-musl-strip' ac_ct_CC='' asm_hidden_op='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='i686-pc-linux-gnu' build_cpu='i686' build_libsubdir='build-i686-pc-linux-gnu' build_os='linux-gnu' build_subdir='build-i686-pc-linux-gnu' build_vendor='pc' cpu_type='' datadir='${datarootdir}' datarootdir='${prefix}/share' decimal_float='' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' double_type_size='' dvidir='${docdir}' enable_decimal_float='no' enable_shared='no' exec_prefix='NONE' extra_parts='' fixed_point='' host='i686-pc-linux-musl' host_alias='i686-linux-musl' host_cpu='i686' host_noncanonical='i686-linux-musl' host_os='linux-musl' host_subdir='.' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libgcc_topdir='../../../gcc/libgcc/..' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' long_double_type_size='' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/root/cross' program_transform_name='s&^&i686-linux-musl-&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' set_have_cc_tls='' set_use_emutls='' sfp_machine_header='' sharedstatedir='${prefix}/com' slibdir='$(exec_prefix)/$(host_noncanonical)/lib' sysconfdir='${prefix}/etc' target_alias='i686-linux-musl' target_noncanonical='i686-linux-musl' target_subdir='i686-linux-musl' tm_defines='' tm_file='' tmake_file='' toolexecdir='$(exec_prefix)/$(target_noncanonical)' toolexeclibdir='$(toolexecdir)/lib' vis_hide='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU C Runtime Library" #define PACKAGE_TARNAME "libgcc" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "GNU C Runtime Library 1.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" configure: exit 1 On Thu, Oct 9, 2014 at 6:17 PM, stephen Turner wrote: > >> I've been using linux to some degree or form since the 486 was hot stuff >> so it also seems like about time i learn what makes it tick. man i remember >> getting a cyrix processor to replace my pentium thinking the increase in >> mhz would be better but boy was i wrong! k, enough of that. moving on to >> newer things :) >> > > Correction, pentium., we just purchased a pentium computer so i took the > 486 and installed a lilo booting redhat linux version 5.2? 6.2? i purchased > from a local software store. good memories. >