LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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

Reply
 
Search this Thread
Old 10-21-2009, 09:24 AM   #1
mysky
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
Failing to compile gcc at 5.5


Hi people,

I've been trying to follow LFS 5.5 to intall GCC but have had no luck.... I'm getting the error message

'checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile'

I'm using
gcc-4.4.2
gmp-4.3.1.tar.gz
mpfr-2.4.1

The step I took was
1. tar xzf gcc-4.4.2.tar.gz
2. cd gcc-4.4.2
3. tar xzf ../gmp-4.3.1.tar.gz
4. tar xzf ../mpfr-2.4.1
5. mv gmp-4.3.1 gmp
6. mv mpfr-2.4.a mpfr
7. mkdir ../gcc-build
8. cd ../gcc-build
9. ../gcc-4.4.2/configure \
--target=$LFS_TGT --prefix=/tools \
--disable-nls --disable-shared --disable-multilib \
--disable-decimal-float --disable-threads \
--disable-libmudflap --disable-libssp \
--disable-libgomp --enable-languages=c
10. make

Then while running make I got the error

'checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile'

I've spent already many hours googling and finding a solution to it, but have it no luck so really hope someone could help out.

Many thanks!

######### MY CONFIG.LOG########################
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.4.2/configure --target=i686-lfs-linux-gnu --prefix=/tools --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-lipssp --disable-lipgomp --enable-languages=c

## --------- ##
## Platform. ##
## --------- ##

hostname = fedora
uname -m = i686
uname -r = 2.6.27.5-117.fc10.i686
uname -s = Linux
uname -v = #1 SMP Tue Nov 18 12:19:59 EST 2008

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/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:1563: checking build system type
configure:1581: result: i686-pc-linux-gnu
configure:1616: checking host system type
configure:1630: result: i686-pc-linux-gnu
configure:1638: checking target system type
configure:1652: result: i686-lfs-linux-gnu
configure:1696: checking for a BSD-compatible install
configure:1762: result: /usr/bin/install -c
configure:1773: checking whether ln works
configure:1795: result: yes
configure:1799: checking whether ln -s works
configure:1803: result: yes
configure:3002: checking for gcc
configure:3018: found /usr/bin/gcc
configure:3028: result: gcc
configure:3274: checking for C compiler version
configure:3277: gcc --version </dev/null >&5
gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)
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:3280: $? = 0
configure:3282: gcc -v </dev/null >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux
Thread model: posix
gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)
configure:3285: $? = 0
configure:3287: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:3290: $? = 1
configure:3313: checking for C compiler default output file name
configure:3316: gcc conftest.c >&5
configure:3319: $? = 0
configure:3367: result: a.out
configure:3372: checking whether the C compiler works
configure:3378: ./a.out
configure:3381: $? = 0
configure:3400: result: yes
configure:3407: checking whether we are cross compiling
configure:3409: result: no
configure:3412: checking for suffix of executables
configure:3414: gcc -o conftest conftest.c >&5
configure:3417: $? = 0
configure:3444: result:
configure:3450: checking for suffix of object files
configure:3471: gcc -c conftest.c >&5
configure:3474: $? = 0
configure:3498: result: o
configure:3502: checking whether we are using the GNU C compiler
configure:3526: gcc -c conftest.c >&5
configure:3532: $? = 0
configure:3536: test -z
|| test ! -s conftest.err
configure:3539: $? = 0
configure:3542: test -s conftest.o
configure:3545: $? = 0
configure:3558: result: yes
configure:3564: checking whether gcc accepts -g
configure:3585: gcc -c -g conftest.c >&5
configure:3591: $? = 0
configure:3595: test -z
|| test ! -s conftest.err
configure:3598: $? = 0
configure:3601: test -s conftest.o
configure:3604: $? = 0
configure:3615: result: yes
configure:3632: checking for gcc option to accept ANSI C
configure:3702: gcc -c -g -O2 conftest.c >&5
configure:3708: $? = 0
configure:3712: test -z
|| test ! -s conftest.err
configure:3715: $? = 0
configure:3718: test -s conftest.o
configure:3721: $? = 0
configure:3739: result: none needed
configure:3757: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'me'
configure:3763: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3948: checking for g++
configure:3977: result: no
configure:3948: checking for c++
configure:3977: result: no
configure:3948: checking for gpp
configure:3977: result: no
configure:3948: checking for aCC
configure:3977: result: no
configure:3948: checking for CC
configure:3977: result: no
configure:3948: checking for cxx
configure:3977: result: no
configure:3948: checking for cc++
configure:3977: result: no
configure:3948: checking for cl
configure:3977: result: no
configure:3948: checking for FCC
configure:3977: result: no
configure:3948: checking for KCC
configure:3977: result: no
configure:3948: checking for RCC
configure:3977: result: no
configure:3948: checking for xlC_r
configure:3977: result: no
configure:3948: checking for xlC
configure:3977: result: no
configure:3990: checking for C++ compiler version
configure:3993: g++ --version </dev/null >&5
../gcc-4.4.2/configure: line 3994: g++: command not found
configure:3996: $? = 127
configure:3998: g++ -v </dev/null >&5
../gcc-4.4.2/configure: line 3999: g++: command not found
configure:4001: $? = 127
configure:4003: g++ -V </dev/null >&5
../gcc-4.4.2/configure: line 4004: g++: command not found
configure:4006: $? = 127
configure:4009: checking whether we are using the GNU C++ compiler
configure:4033: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4034: g++: command not found
configure:4039: $? = 127
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 ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4065: result: no
configure:4071: checking whether g++ accepts -g
configure:4092: g++ -c -g conftest.cc >&5
../gcc-4.4.2/configure: line 4093: g++: command not found
configure:4098: $? = 127
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 ()
| {
|
| ;
| return 0;
| }
configure:4122: result: no
configure:4164: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4165: g++: command not found
configure:4170: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4164: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4165: g++: command not found
configure:4170: $? = 127
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:4164: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4165: g++: command not found
configure:4170: $? = 127
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:4164: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4165: g++: command not found
configure:4170: $? = 127
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 exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4164: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4165: g++: command not found
configure:4170: $? = 127
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 exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4164: g++ -c conftest.cc >&5
../gcc-4.4.2/configure: line 4165: g++: command not found
configure:4170: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4315: checking for gnatbind
configure:4342: result: no
configure:4395: checking for gnatmake
configure:4422: result: no
configure:4434: checking whether compiler driver understands Ada
configure:4457: result: no
configure:4466: checking how to compare bootstrapped objects
configure:4491: result: cmp --ignore-initial=16 $$f1 $$f2
configure:4890: checking for version 0.10 of PPL
configure:4912: gcc -c -g -O2 -I/include -I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr conftest.c >&5
conftest.c:12:19: error: ppl_c.h: No such file or directory
conftest.c: In function 'main':
conftest.c:18: error: 'choke' undeclared (first use in this function)
conftest.c:18: error: (Each undeclared identifier is reported only once
conftest.c:18: error: for each function it appears in.)
conftest.c:18: error: expected ';' before 'me'
configure:4918: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include "ppl_c.h"
| int
| main ()
| {
|
| #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR != 10
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4939: result: no
configure:5009: checking for correct version of CLooG
configure:5031: gcc -c -g -O2 -I/include -DCLOOG_PPL_BACKEND -I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr conftest.c >&5
conftest.c:12:25: error: cloog/cloog.h: No such file or directory
conftest.c: In function 'main':
conftest.c:18: error: 'choke' undeclared (first use in this function)
conftest.c:18: error: (Each undeclared identifier is reported only once
conftest.c:18: error: for each function it appears in.)
conftest.c:18: error: expected ';' before 'me'
configure:5037: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include "cloog/cloog.h"
| int
| main ()
| {
|
| #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
| choke me
| #endif
|
| ;
| return 0;
| }
configure:5058: result: no
configure:6402: checking for bison
configure:6431: result: no
configure:6402: checking for byacc
configure:6431: result: no
configure:6402: checking for yacc
configure:6431: result: no
configure:6448: checking for bison
configure:6477: result: no
configure:6493: checking for gm4
configure:6522: result: no
configure:6493: checking for gnum4
configure:6522: result: no
configure:6493: checking for m4
configure:6509: found /usr/bin/m4
configure:6519: result: m4
configure:6538: checking for flex
configure:6567: result: no
configure:6538: checking for lex
configure:6567: result: no
configure:6584: checking for flex
configure:6613: result: no
configure:6629: checking for makeinfo
configure:6658: result: no
configure:6688: checking for expect
configure:6717: result: no
configure:6735: checking for runtest
configure:6764: result: no
configure:6874: checking for ar
configure:6890: found /tools/bin/ar
configure:6900: result: ar
configure:7009: checking for as
configure:7025: found /tools/bin/as
configure:7035: result: as
configure:7144: checking for dlltool
configure:7173: result: no
configure:7279: checking for ld
configure:7295: found /tools/bin/ld
configure:7305: result: ld
configure:7414: checking for lipo
configure:7443: result: no
configure:7549: checking for nm
configure:7565: found /tools/bin/nm
configure:7575: result: nm
configure:7684: checking for ranlib
configure:7700: found /tools/bin/ranlib
configure:7710: result: ranlib
configure:7814: checking for strip
configure:7830: found /tools/bin/strip
configure:7840: result: strip
configure:7944: checking for windres
configure:7973: result: no
configure:8079: checking for windmc
configure:8108: result: no
configure:8214: checking for objcopy
configure:8230: found /tools/bin/objcopy
configure:8240: result: objcopy
configure:8349: checking for objdump
configure:8365: found /tools/bin/objdump
configure:8375: result: objdump
configure:8486: checking for i686-lfs-linux-gnu-cc
configure:8515: result: no
configure:8486: checking for i686-lfs-linux-gnu-gcc
configure:8502: found /tools/bin/i686-lfs-linux-gnu-gcc
configure:8512: result: i686-lfs-linux-gnu-gcc
configure:8641: checking for i686-lfs-linux-gnu-c++
configure:8670: result: no
configure:8641: checking for i686-lfs-linux-gnu-g++
configure:8670: result: no
configure:8641: checking for i686-lfs-linux-gnu-cxx
configure:8670: result: no
configure:8641: checking for i686-lfs-linux-gnu-gxx
configure:8670: result: no
configure:8796: checking for i686-lfs-linux-gnu-gcc
configure:8812: found /tools/bin/i686-lfs-linux-gnu-gcc
configure:8822: result: i686-lfs-linux-gnu-gcc
configure:8946: checking for i686-lfs-linux-gnu-gcj
configure:8975: result: no
configure:9101: checking for i686-lfs-linux-gnu-gfortran
configure:9130: result: no
configure:9227: checking for ar
configure:9260: result: no
configure:9335: checking for i686-lfs-linux-gnu-ar
configure:9364: result: no
configure:9450: checking for as
configure:9483: result: no
configure:9558: checking for i686-lfs-linux-gnu-as
configure:9587: result: no
configure:9673: checking for dlltool
configure:9706: result: no
configure:9781: checking for i686-lfs-linux-gnu-dlltool
configure:9810: result: no
configure:9896: checking for ld
configure:9929: result: no
configure:10004: checking for i686-lfs-linux-gnu-ld
configure:10033: result: no
configure:10119: checking for lipo
configure:10152: result: no
configure:10227: checking for i686-lfs-linux-gnu-lipo
configure:10256: result: no
configure:10342: checking for nm
configure:10375: result: no
configure:10450: checking for i686-lfs-linux-gnu-nm
configure:10479: result: no
configure:10565: checking for objdump
configure:10598: result: no
configure:10673: checking for i686-lfs-linux-gnu-objdump
configure:10702: result: no
configure:10788: checking for ranlib
configure:10821: result: no
configure:10896: checking for i686-lfs-linux-gnu-ranlib
configure:10925: result: no
configure:11011: checking for strip
configure:11044: result: no
configure:11119: checking for i686-lfs-linux-gnu-strip
configure:11148: result: no
configure:11234: checking for windres
configure:11267: result: no
configure:11342: checking for i686-lfs-linux-gnu-windres
configure:11371: result: no
configure:11457: checking for windmc
configure:11490: result: no
configure:11565: checking for i686-lfs-linux-gnu-windmc
configure:11594: result: no
configure:11658: checking where to find the target ar
configure:11695: result: pre-installed
configure:11700: checking where to find the target as
configure:11737: result: pre-installed
configure:11742: checking where to find the target cc
configure:11765: result: just compiled
configure:11784: checking where to find the target c++
configure:11824: result: pre-installed
configure:11829: checking where to find the target c++ for libstdc++
configure:11869: result: pre-installed
configure:11874: checking where to find the target dlltool
configure:11911: result: pre-installed
configure:11916: checking where to find the target gcc
configure:11939: result: just compiled
configure:11958: checking where to find the target gcj
configure:11998: result: pre-installed
configure:12003: checking where to find the target gfortran
configure:12043: result: pre-installed
configure:12048: checking where to find the target ld
configure:12085: result: pre-installed
configure:12090: checking where to find the target lipo
configure:12116: result: pre-installed
configure:12121: checking where to find the target nm
configure:12158: result: pre-installed
configure:12163: checking where to find the target objdump
configure:12200: result: pre-installed
configure:12205: checking where to find the target ranlib
configure:12242: result: pre-installed
configure:12247: checking where to find the target strip
configure:12284: result: pre-installed
configure:12289: checking where to find the target windres
configure:12326: result: pre-installed
configure:12331: checking where to find the target windmc
configure:12368: result: pre-installed
configure:12401: checking whether to enable maintainer-specific portions of Makefiles
configure:12410: result: no
configure:12443: checking whether -fkeep-inline-functions is supported
configure:12467: gcc -c -g -O2 -fkeep-inline-functions conftest.c >&5
configure:12473: $? = 0
configure:12477: test -z
|| test ! -s conftest.err
configure:12480: $? = 0
configure:12483: test -s conftest.o
configure:12486: $? = 0
configure:12488: result: yes
configure:12705: creating ./config.status
 
Old 10-21-2009, 09:25 AM   #2
mysky
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
## ---------------------- ##
## 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 fedora

config.status:770: creating Makefile

## ---------------- ##
## 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=no
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=
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_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=set
ac_cv_env_target_alias_value=i686-lfs-linux-gnu
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_install='/usr/bin/install -c'
ac_cv_prog_AR=ar
ac_cv_prog_AS=as
ac_cv_prog_CC_FOR_TARGET=i686-lfs-linux-gnu-gcc
ac_cv_prog_GCC_FOR_TARGET=i686-lfs-linux-gnu-gcc
ac_cv_prog_LD=ld
ac_cv_prog_M4=m4
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_ac_ct_CC=gcc
ac_cv_prog_ac_ct_GNATBIND=no
ac_cv_prog_ac_ct_GNATMAKE=no
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_target=i686-lfs-linux-gnu
ac_cv_target_alias=i686-lfs-linux-gnu
acx_cv_cc_gcc_supports_ada=no
acx_cv_prog_LN=ln
gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
gcc_cv_tool_dirs=/tools/libexec/gcc/i686-lfs-linux-gnu/4.4.2:/tools/libexec/gcc/i686-lfs-linux-gnu:/usr/lib/gcc/i686-lfs-linux-gnu/4.4.2:/usr/lib/gcc/i686-lfs-linux-gnu:/tools/i686-lfs-linux-gnu/bin/i686-lfs-linux-gnu/4.4.2:/tools/i686-lfs-linux-gnu/bin:
gcc_cv_tool_prefix=/tools

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='ar'
AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='i686-lfs-linux-gnu-ar'
AS='as'
AS_FOR_BUILD='$(AS)'
AS_FOR_TARGET='i686-lfs-linux-gnu-as'
BISON='/media/usb/sources/gcc-4.4.2/missing bison'
CC='gcc'
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'
CFLAGS_FOR_TARGET='-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=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET='-g '
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET='i686-lfs-linux-gnu-c++'
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='i686-lfs-linux-gnu-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='/media/usb/sources/gcc-4.4.2/missing flex'
GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='i686-lfs-linux-gnu-gcj'
GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='i686-lfs-linux-gnu-gfortran'
GNATBIND='no'
GNATMAKE='no'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='ld'
LDFLAGS=''
LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)'
LD_FOR_TARGET='i686-lfs-linux-gnu-ld'
LEX='/media/usb/sources/gcc-4.4.2/missing flex'
LIBOBJS=''
LIBS='-L/lib -lcloog -L/lib -lppl_c -lppl -lgmpxx '
LIPO='lipo'
LIPO_FOR_TARGET='i686-lfs-linux-gnu-lipo'
LN='ln'
LN_S='ln -s'
LTLIBOBJS=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='/media/usb/sources/gcc-4.4.2/missing makeinfo'
NM='nm'
NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='i686-lfs-linux-gnu-nm'
OBJCOPY='objcopy'
OBJDUMP='objdump'
OBJDUMP_FOR_TARGET='i686-lfs-linux-gnu-objdump'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB='ranlib'
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET='i686-lfs-linux-gnu-ranlib'
RAW_CXX_FOR_TARGET='i686-lfs-linux-gnu-c++'
RPATH_ENVVAR='LD_LIBRARY_PATH'
RUNTEST='runtest'
SHELL='/bin/sh'
STRIP='strip'
STRIP_FOR_TARGET='i686-lfs-linux-gnu-strip'
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='../gcc-4.4.2/configure --target=i686-lfs-linux-gnu --prefix=/tools --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-lipssp --disable-lipgomp --enable-languages=c'
WINDMC='windmc'
WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='i686-lfs-linux-gnu-windmc'
WINDRES='windres'
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='i686-lfs-linux-gnu-windres'
YACC='/media/usb/sources/gcc-4.4.2/missing bison -y'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_GNATBIND='no'
ac_ct_GNATMAKE='no'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_configargs='--cache-file=../config.cache '--prefix=/tools' '--disable-nls' '--disable-shared' '--disable-multilib' '--disable-decimal-float' '--disable-threads' '--disable-libmudflap' '--disable-lipssp' '--disable-lipgomp' '--enable-languages=c' --program-transform-name='s,^,i686-lfs-linux-gnu-,''
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-lfs-linux-gnu'
build_vendor='pc'
clooginc=''
clooglibs=''
config_shell='/bin/sh'
configdirs=' intl libiberty libcpp libdecnumber gmp mpfr fixincludes gcc'
datadir='${prefix}/share'
datarootdir='${prefix}/share'
do_compare='cmp --ignore-initial=16 $$f1 $$f2'
docdir='${datarootdir}/doc'
exec_prefix='${prefix}'
extra_mpfr_configure_flags='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
gmpinc='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp -I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '
gmplibs='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs -L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs -lmpfr -lgmp'
host='i686-pc-linux-gnu'
host_alias=''
host_configargs='--cache-file=./config.cache '--prefix=/tools' '--disable-nls' '--disable-shared' '--disable-multilib' '--disable-decimal-float' '--disable-threads' '--disable-libmudflap' '--disable-lipssp' '--disable-lipgomp' '--enable-languages=c' --program-transform-name='s,^,i686-lfs-linux-gnu-,''
host_cpu='i686'
host_noncanonical='i686-pc-linux-gnu'
host_os='linux-gnu'
host_subdir='.'
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}'
pplinc=''
ppllibs=''
prefix='/tools'
program_transform_name='s,^,i686-lfs-linux-gnu-,'
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-lfs-linux-gnu'
target_alias='i686-lfs-linux-gnu'
target_configargs='--cache-file=./config.cache --with-cross-host=i686-pc-linux-gnu '--prefix=/tools' '--disable-nls' '--disable-shared' '--disable-multilib' '--disable-decimal-float' '--disable-threads' '--disable-libmudflap' '--disable-lipssp' '--disable-lipgomp' '--enable-languages=c' --program-transform-name='s,^,i686-lfs-linux-gnu-,''
target_cpu='i686'
target_noncanonical='i686-lfs-linux-gnu'
target_os='linux-gnu'
target_subdir='i686-lfs-linux-gnu'
target_vendor='lfs'
tooldir='${exec_prefix}/i686-lfs-linux-gnu'

## ------------- ##
## Output files. ##
## ------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='../gcc-4.4.2/config/mh-x86omitfp'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='../gcc-4.4.2/config/mt-gnu'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 0
 
Old 10-23-2009, 11:47 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,160

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
Welcome to LQ.

Please read 1.5.1 here
http://www.linuxfromscratch.org/lfs/...skforhelp.html
The book ( 6.5 ) can be guessed, but all details are important.
The missing information : Please tell which host you are using , etc.
May be the host gcc isn't fit to compile gcc-4.4.2 ? ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile error, 'H5G_obj_t' does not name a type, is gcc 4.3 incompatible with gcc 3 ? samrat_rao Linux - Software 5 03-03-2009 03:28 PM
GCC 4.1.2 failing to compile havenoidea Linux From Scratch 12 11-17-2007 08:56 AM
gcc failing, ld seems to be the problem trigggl AIX 9 06-15-2007 02:22 PM
gcc compilation failing on UnixWare for LOCALE_ALIAS_PATH subu_s Programming 0 12-21-2004 08:15 AM
Compile 2.6.9 keeps failing. musicman_ace Suse/Novell 6 11-27-2004 05:16 AM


All times are GMT -5. The time now is 12:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration