Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
05-12-2009, 12:48 AM
#1
LQ Newbie
Registered: May 2009
Posts: 4
Rep:
"error: C compiler cannot create executables" when I try to compile gcc4.3.2 in/tools
However binutils does compile without error.
I am using debian lenny i386 with lxde. I've installed build-essential. I thought it might be that the install cd was corrupted so I reinstalled all packages from the repository and it still doesn't work. For some reason tar doesn't work but file-roller does. here is the config.log file:
http://www.mediafire.com/?sharekey=9...4e75f6e8ebb871
Sorry I had to put it at a download site, the post was 27023 characters with it pasted here.
Edit: the download doesn't seem too be working so i'll put it in multiple posts
Edit: Maybe I have to change exit (42) in confdefs.h to void std::exit (42) can someone please confirm and tell me where confdefs.h is.
Edit: I've searched and there isn't even a confdefs.h file I am going to try to compile gcc 4.4.0 instead.
Edit: That didn't work either, I'm going to try a different distro.
Last edited by spencer8ab; 05-13-2009 at 01:57 AM .
Reason: more info
05-12-2009, 12:52 AM
#2
LQ Newbie
Registered: May 2009
Posts: 4
Original Poster
Rep:
config.log
Code:
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.59. Invocation command line was
$ ../gcc-4.3.2/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-languages=c
## --------- ##
## Platform. ##
## --------- ##
hostname = debian
uname -m = i686
uname -r = 2.6.26-2-686
uname -s = Linux
uname -v = #1 SMP Thu Mar 26 01:08:11 UTC 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /tools/bin
PATH: /bin
PATH: /usr/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1505: checking build system type
configure:1523: result: i686-pc-linux-gnu
configure:1558: checking host system type
configure:1572: result: i686-pc-linux-gnu
configure:1580: checking target system type
configure:1594: result: i686-pc-linux-gnu
configure:1637: checking for a BSD-compatible install
configure:1692: result: /usr/bin/install -c
configure:1703: checking whether ln works
configure:1725: result: yes
configure:1729: checking whether ln -s works
configure:1733: result: yes
configure:2885: checking for gcc
configure:2911: result: gcc -B/usr/bin/
configure:3155: checking for C compiler version
configure:3158: gcc -B/usr/bin/ --version </dev/null >&5
gcc (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 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:3161: $? = 0
configure:3163: gcc -B/usr/bin/ -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
configure:3166: $? = 0
configure:3168: gcc -B/usr/bin/ -V </dev/null >&5
gcc: '-V' must come at the start of the command line
configure:3171: $? = 1
configure:3194: checking for C compiler default output file name
configure:3197: gcc -B/usr/bin/ conftest.c >&5
configure:3200: $? = 0
configure:3246: result: a.out
configure:3251: checking whether the C compiler works
configure:3257: ./a.out
configure:3260: $? = 0
configure:3277: result: yes
configure:3284: checking whether we are cross compiling
configure:3286: result: no
configure:3289: checking for suffix of executables
configure:3291: gcc -B/usr/bin/ -o conftest conftest.c >&5
configure:3294: $? = 0
configure:3319: result:
configure:3325: checking for suffix of object files
configure:3346: gcc -B/usr/bin/ -c conftest.c >&5
configure:3349: $? = 0
configure:3371: result: o
configure:3375: checking whether we are using the GNU C compiler
configure:3399: gcc -B/usr/bin/ -c conftest.c >&5
configure:3405: $? = 0
configure:3409: test -z
|| test ! -s conftest.err
configure:3412: $? = 0
configure:3415: test -s conftest.o
configure:3418: $? = 0
configure:3431: result: yes
configure:3437: checking whether gcc -B/usr/bin/ accepts -g
configure:3458: gcc -B/usr/bin/ -c -g conftest.c >&5
configure:3464: $? = 0
configure:3468: test -z
|| test ! -s conftest.err
configure:3471: $? = 0
configure:3474: test -s conftest.o
configure:3477: $? = 0
configure:3488: result: yes
configure:3505: checking for gcc -B/usr/bin/ option to accept ANSI C
configure:3575: gcc -B/usr/bin/ -c -g -O2 conftest.c >&5
configure:3581: $? = 0
configure:3585: test -z
|| test ! -s conftest.err
configure:3588: $? = 0
configure:3591: test -s conftest.o
configure:3594: $? = 0
configure:3612: result: none needed
configure:3630: gcc -B/usr/bin/ -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3636: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3821: checking for g++
configure:3837: found /usr/bin/g++
configure:3847: result: g++
configure:3863: checking for C++ compiler version
configure:3866: g++ --version </dev/null >&5
g++ (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 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:3869: $? = 0
configure:3871: g++ -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.3.2 (Debian 4.3.2-1.1)
configure:3874: $? = 0
configure:3876: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:3879: $? = 1
configure:3882: checking whether we are using the GNU C++ compiler
configure:3906: g++ -c conftest.cc >&5
configure:3912: $? = 0
configure:3916: test -z
|| test ! -s conftest.err
configure:3919: $? = 0
configure:3922: test -s conftest.o
configure:3925: $? = 0
configure:3938: result: yes
configure:3944: checking whether g++ accepts -g
configure:3965: g++ -c -g conftest.cc >&5
configure:3971: $? = 0
configure:3975: test -z
|| test ! -s conftest.err
configure:3978: $? = 0
configure:3981: test -s conftest.o
configure:3984: $? = 0
configure:3995: result: yes
configure:4037: g++ -c -g -O2 conftest.cc >&5
configure:4043: $? = 0
configure:4047: test -z
|| test ! -s conftest.err
configure:4050: $? = 0
configure:4053: test -s conftest.o
configure:4056: $? = 0
configure:4082: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:4088: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4037: g++ -c -g -O2 conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
configure:4043: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4037: g++ -c -g -O2 conftest.cc >&5
conftest.cc:9: error: 'void std::exit(int)' should have been declared inside 'std'
In file included from conftest.cc:10:
/usr/include/stdlib.h:531: error: declaration of 'void std::exit(int) throw ()' throws different exceptions
conftest.cc:9: error: from previous declaration 'void std::exit(int)'
configure:4043: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4037: g++ -c -g -O2 conftest.cc >&5
configure:4043: $? = 0
configure:4047: test -z
|| test ! -s conftest.err
configure:4050: $? = 0
configure:4053: test -s conftest.o
configure:4056: $? = 0
configure:4082: g++ -c -g -O2 conftest.cc >&5
configure:4088: $? = 0
configure:4092: test -z
|| test ! -s conftest.err
configure:4095: $? = 0
configure:4098: test -s conftest.o
configure:4101: $? = 0
configure:4188: checking for gnatbind
configure:4204: found /usr/bin/gnatbind
configure:4215: result: gnatbind
configure:4268: checking for gnatmake
configure:4284: found /usr/bin/gnatmake
configure:4295: result: gnatmake
configure:4307: checking whether compiler driver understands Ada
configure:4330: result: yes
configure:4339: checking how to compare bootstrapped objects
configure:4364: result: cmp --ignore-initial=16 $$f1 $$f2
configure:4484: checking for correct version of gmp.h
configure:4507: gcc -B/usr/bin/ -c -g -O2 conftest.c >&5
configure:4513: $? = 0
configure:4517: test -z
|| test ! -s conftest.err
configure:4520: $? = 0
configure:4523: test -s conftest.o
configure:4526: $? = 0
configure:4528: result: yes
configure:4542: checking for correct version of mpfr.h
configure:4573: gcc -B/usr/bin/ -o conftest -g -O2 conftest.c -lmpfr -lgmp >&5
configure:4579: $? = 0
configure:4583: test -z
|| test ! -s conftest.err
configure:4586: $? = 0
configure:4589: test -s conftest
configure:4592: $? = 0
configure:4616: gcc -B/usr/bin/ -o conftest -g -O2 conftest.c -lmpfr -lgmp >&5
configure:4622: $? = 0
configure:4626: test -z
|| test ! -s conftest.err
configure:4629: $? = 0
configure:4632: test -s conftest
configure:4635: $? = 0
configure:4637: result: yes
configure:5971: checking for bison
configure:5987: found /usr/bin/bison
configure:5997: result: bison -y
configure:6017: checking for bison
configure:6033: found /usr/bin/bison
configure:6043: result: bison
configure:6062: checking for gm4
configure:6091: result: no
configure:6062: checking for gnum4
configure:6091: result: no
configure:6062: checking for m4
configure:6078: found /usr/bin/m4
configure:6088: result: m4
configure:6107: checking for flex
configure:6136: result: no
configure:6107: checking for lex
configure:6136: result: no
configure:6153: checking for flex
configure:6182: result: no
configure:6198: checking for makeinfo
configure:6214: found /usr/bin/makeinfo
configure:6224: result: makeinfo
configure:6257: checking for expect
configure:6273: found /usr/bin/expect
configure:6283: result: expect
configure:6304: checking for runtest
configure:6333: result: no
configure:6443: checking for ar
configure:6459: found /tools/bin/ar
configure:6469: result: ar
configure:6578: checking for as
configure:6594: found /tools/bin/as
configure:6604: result: as
configure:6713: checking for dlltool
configure:6742: result: no
configure:6771: checking for ld
configure:6797: result: /usr/bin/ld
configure:6983: checking for lipo
configure:7012: result: no
configure:7118: checking for nm
configure:7134: found /tools/bin/nm
configure:7144: result: nm
configure:7253: checking for ranlib
configure:7269: found /tools/bin/ranlib
configure:7279: result: ranlib
configure:7383: checking for strip
configure:7399: found /tools/bin/strip
configure:7409: result: strip
configure:7513: checking for windres
configure:7542: result: no
configure:7648: checking for windmc
configure:7677: result: no
configure:7783: checking for objcopy
configure:7799: found /tools/bin/objcopy
configure:7809: result: objcopy
configure:7918: checking for objdump
configure:7934: found /tools/bin/objdump
configure:7944: result: objdump
configure:8092: checking for cc
configure:8108: found /usr/bin/cc
configure:8118: result: cc
configure:8247: checking for c++
configure:8263: found /usr/bin/c++
configure:8273: result: c++
configure:8402: checking for gcc
configure:8418: found /usr/bin/gcc
configure:8428: result: gcc
configure:8552: checking for gcj
configure:8581: result: no
configure:8707: checking for gfortran
configure:8736: result: no
configure:8796: checking for ar
configure:8814: found /tools/i686-pc-linux-gnu/bin/ar
configure:8826: result: /tools/i686-pc-linux-gnu/bin/ar
configure:9019: checking for as
configure:9037: found /tools/i686-pc-linux-gnu/bin/as
configure:9049: result: /tools/i686-pc-linux-gnu/bin/as
configure:9242: checking for dlltool
configure:9275: result: no
configure:9387: checking for dlltool
configure:9416: result: no
configure:9465: checking for ld
configure:9483: found /tools/i686-pc-linux-gnu/bin/ld
configure:9495: result: /tools/i686-pc-linux-gnu/bin/ld
configure:9688: checking for lipo
configure:9721: result: no
configure:9833: checking for lipo
configure:9862: result: no
configure:9911: checking for nm
configure:9929: found /tools/i686-pc-linux-gnu/bin/nm
configure:9941: result: /tools/i686-pc-linux-gnu/bin/nm
configure:10134: checking for objdump
configure:10152: found /tools/i686-pc-linux-gnu/bin/objdump
configure:10164: result: /tools/i686-pc-linux-gnu/bin/objdump
configure:10357: checking for ranlib
configure:10375: found /tools/i686-pc-linux-gnu/bin/ranlib
configure:10387: result: /tools/i686-pc-linux-gnu/bin/ranlib
configure:10580: checking for strip
configure:10598: found /tools/i686-pc-linux-gnu/bin/strip
configure:10610: result: /tools/i686-pc-linux-gnu/bin/strip
configure:10803: checking for windres
configure:10836: result: no
configure:10948: checking for windres
configure:10977: result: no
configure:11026: checking for windmc
configure:11059: result: no
configure:11171: checking for windmc
configure:11200: result: no
configure:11227: checking where to find the target ar
configure:11255: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11269: checking where to find the target as
configure:11297: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11311: checking where to find the target cc
configure:11334: result: just compiled
configure:11353: checking where to find the target c++
configure:11389: result: host tool
configure:11398: checking where to find the target c++ for libstdc++
configure:11434: result: host tool
configure:11443: checking where to find the target dlltool
configure:11476: result: host tool
configure:11485: checking where to find the target gcc
configure:11508: result: just compiled
configure:11527: checking where to find the target gcj
configure:11563: result: host tool
configure:11572: checking where to find the target gfortran
configure:11608: result: host tool
configure:11617: checking where to find the target ld
configure:11645: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11659: checking where to find the target lipo
configure:11681: result: host tool
configure:11690: checking where to find the target nm
configure:11718: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11732: checking where to find the target objdump
configure:11760: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11774: checking where to find the target ranlib
configure:11802: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11816: checking where to find the target strip
configure:11844: result: pre-installed in /tools/i686-pc-linux-gnu/bin
configure:11858: checking where to find the target windres
configure:11891: result: host tool
configure:11900: checking where to find the target windmc
configure:11933: result: host tool
configure:11970: checking whether to enable maintainer-specific portions of Makefiles
configure:11979: result: no
configure:12012: checking whether -fkeep-inline-functions is supported
configure:12036: gcc -B/usr/bin/ -c -g -O2 -fkeep-inline-functions conftest.c >&5
configure:12042: $? = 0
configure:12046: test -z
|| test ! -s conftest.err
configure:12049: $? = 0
configure:12052: test -s conftest.o
configure:12055: $? = 0
configure:12057: result: yes
configure:12274: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on debian
config.status:762: creating Makefile
Last edited by spencer8ab; 05-12-2009 at 12:56 AM .
Reason: neaten
05-12-2009, 12:53 AM
#3
LQ Newbie
Registered: May 2009
Posts: 4
Original Poster
Rep:
config.log part 2
Code:
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-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_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value='gcc -B/usr/bin/'
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_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_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_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_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_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_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_AR_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/ar
ac_cv_path_AS_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/as
ac_cv_path_LD_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/ld
ac_cv_path_NM_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/nm
ac_cv_path_OBJDUMP_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/objdump
ac_cv_path_RANLIB_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/ranlib
ac_cv_path_STRIP_FOR_TARGET=/tools/i686-pc-linux-gnu/bin/strip
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_BISON=bison
ac_cv_prog_CC_FOR_TARGET=cc
ac_cv_prog_CXX_FOR_TARGET=c++
ac_cv_prog_EXPECT=expect
ac_cv_prog_GCC_FOR_TARGET=gcc
ac_cv_prog_LD=/usr/bin/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_STRIP=strip
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_CC='gcc -B/usr/bin/'
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_GNATBIND=gnatbind
ac_cv_prog_ac_ct_GNATMAKE=gnatmake
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu
acx_cv_cc_gcc_supports_ada=yes
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/tools/libexec/gcc/i686-pc-linux-gnu/4.3.2:/tools/libexec/gcc/i686-pc-linux-gnu:/usr/lib/gcc/i686-pc-linux-gnu/4.3.2:/usr/lib/gcc/i686-pc-linux-gnu:/tools/i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.3.2:/tools/i686-pc-linux-gnu/bin:
gcc_cv_tool_prefix=/tools
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/as'
BISON='bison'
CC='gcc -B/usr/bin/'
CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
CFLAGS='-g -O2'
CFLAGS_FOR_BUILD='-g -O2'
COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'
CONFIGURE_GDB_TK=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXXFLAGS_FOR_BUILD='-g -O2'
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='$(CXX)'
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" '
DLLTOOL='dlltool'
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='$(DLLTOOL)'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
EXPECT='expect'
FLAGS_FOR_TARGET=' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
FLEX='/mnt/lfs/sources/gcc-4.3.2/missing flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='$(GCJ)'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='$(GFORTRAN)'
GNATBIND='gnatbind'
GNATMAKE='gnatmake'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/usr/bin/ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/ld'
LEX='/mnt/lfs/sources/gcc-4.3.2/missing flex'
LIBOBJS=''
LIBS=''
LIPO='lipo'
LIPO_FOR_TARGET='$(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='/tools/i686-pc-linux-gnu/bin/nm'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/ranlib'
RAW_CXX_FOR_TARGET='$(CXX)'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='/tools/i686-pc-linux-gnu/bin/strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-4.3.2/configure --prefix=/tools --with-local-prefix=/tools --disable-nls --disable-shared --disable-libssp --enable-languages=c'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='$(WINDMC)'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='$(WINDRES)'
YACC='bison -y'
ac_ct_CC='gcc -B/usr/bin/'
ac_ct_CXX='g++'
ac_ct_GNATBIND='gnatbind'
ac_ct_GNATMAKE='gnatmake'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_configargs='--cache-file=../config.cache '--prefix=/tools' '--with-local-prefix=/tools' '--disable-nls' '--disable-shared' '--disable-libssp' '--enable-languages=c' --program-transform-name='s,y,y,''
build_configdirs=' libiberty fixincludes'
build_cpu='i686'
build_libsubdir='build-i686-pc-linux-gnu'
build_noncanonical='i686-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-i686-pc-linux-gnu'
build_tooldir='${exec_prefix}/i686-pc-linux-gnu'
build_vendor='pc'
config_shell='/bin/sh'
configdirs=' intl libiberty libcpp libdecnumber fixincludes gcc'
datadir='${prefix}/share'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc'
exec_prefix='${prefix}'
gmpinc=''
gmplibs='-lmpfr -lgmp'
host='i686-pc-linux-gnu'
host_alias=''
host_configargs='--cache-file=./config.cache '--prefix=/tools' '--with-local-prefix=/tools' '--disable-nls' '--disable-shared' '--disable-libssp' '--enable-languages=c' --program-transform-name='s,y,y,''
host_cpu='i686'
host_noncanonical='i686-pc-linux-gnu'
host_os='linux-gnu'
host_subdir='host-i686-pc-linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/tools'
program_transform_name='s,y,y,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='-g -fkeep-inline-functions'
stage1_checking='--enable-checking=yes,types'
stage1_languages='c'
stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_configargs='--cache-file=./config.cache --enable-multilib '--prefix=/tools' '--with-local-prefix=/tools' '--disable-nls' '--disable-shared' '--disable-libssp' '--enable-languages=c' --program-transform-name='s,y,y,''
target_cpu='i686'
target_noncanonical='i686-pc-linux-gnu'
target_os='linux-gnu'
target_subdir='i686-pc-linux-gnu'
target_vendor='pc'
tooldir='${exec_prefix}/i686-pc-linux-gnu'
## ------------- ##
## Output files. ##
## ------------- ##
alphaieee_frag='/dev/null'
host_makefile_frag='./config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='./config/mt-gnu'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
extern "C" void exit (int) throw ();
configure: exit 0
Last edited by spencer8ab; 05-12-2009 at 12:56 AM .
Reason: neaten
05-13-2009, 05:01 AM
#4
LQ Newbie
Registered: Sep 2005
Posts: 1
Rep:
patch
you must patch binutils with binutils-2.18-GCC43-1.patch beforce configure.
patch -Np1 -i ../binutils-2.18-GCC43-1.patch
then, compile binutils and continue to gcc
05-13-2009, 12:20 PM
#5
LQ Newbie
Registered: May 2009
Posts: 4
Original Poster
Rep:
I'm almost certain I patched it with that patch and the Binutils Texinfo Version Patch and I've also tried using gcc-4.1. I'll try again in case I did something stupid like configuring it before I patched it. There isn't any reason I need to apply that patch before the Binutils Texinfo Version Patch is there because that would explain it; there shouldn't be any reason to do that though unless they modify the same areas of the code which is unlikely.
Edit: It worked but not when I added c++ to the enable languages configuration option.
Last edited by spencer8ab; 05-14-2009 at 12:07 AM .
All times are GMT -5. The time now is 06:00 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News