public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross compile gcc 4.4.1
@ 2009-08-19 15:18 naveen yadav
  2009-08-19 17:06 ` naveen yadav
  2009-08-19 20:16 ` naveen yadav
  0 siblings, 2 replies; 4+ messages in thread
From: naveen yadav @ 2009-08-19 15:18 UTC (permalink / raw)
  To: gcc-help, gcc-help

Hi All,

I am building crosss compiler toolchain for MIPS. I have download gcc
4.4.1 and binutils 2.1.19.

i have followed following sequence provided in
http://www.linux-mips.org/wiki/Toolchains

i have met following error .

/opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
such file or directory as file in config.log.

What may be problem.

Regards
Naveen


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.



It was created by libmudflap configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /home/uma/gcc-4.4.1/libmudflap/configure
--cache-file=./config.cache --enable-multilib
--with-cross-host=i686-pc-linux-gnu --prefix=/opt/cross
--without-headers --with-gnu-ld --with-gnu-as --disable-shared
--disable-threads --enable-languages=c
--program-transform-name=s,^,mipsel-unknown-linux-gnu-,
--with-target-subdir=mipsel-unknown-linux-gnu
--build=i686-pc-linux-gnu --host=mipsel-unknown-linux-gnu
--target=mipsel-unknown-linux-gnu
--srcdir=../../../gcc-4.4.1/libmudflap

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

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.23.1-42.fc8
uname -s = Linux
uname -v = #1 SMP Tue Oct 30 13:55:12 EDT 2007

/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: /usr/lib/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/lib/ccache
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/arm_v6_vfp_le/bin
PATH: /home/uma/bin
PATH: /opt/cross/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1376: loading cache ./config.cache
configure:1518: checking build system type
configure:1536: result: i686-pc-linux-gnu
configure:1544: checking host system type
configure:1558: result: mipsel-unknown-linux-gnu
configure:1566: checking target system type
configure:1580: result: mipsel-unknown-linux-gnu
configure:1627: checking for a BSD-compatible install
configure:1693: result: /usr/bin/install -c
configure:1704: checking whether build environment is sane
configure:1747: result: yes
configure:1812: checking for gawk
configure:1828: found /bin/gawk
configure:1838: result: gawk
configure:1848: checking whether make sets $(MAKE)
configure:1868: result: yes
configure:1944: checking for mipsel-unknown-linux-gnu-strip
configure:1970: result: /opt/cross/mipsel-unknown-linux-gnu/bin/strip
configure:2037: checking for --enable-version-specific-runtime-libs
configure:2052: result: no
configure:2055: checking whether to enable maintainer-specific
portions of Makefiles
configure:2064: result: no
configure:2148: checking for mipsel-unknown-linux-gnu-gcc
configure:2174: result: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include
configure:2458: checking for C compiler version
configure:2461: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include --version </dev/null
>&5
xgcc (GCC) 4.4.1
Copyright (C) 2009 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:2464: $? = 0
configure:2466: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include -v </dev/null >&5
Reading specs from /home/uma/build-gcc-bootstrap/./gcc/specs
Target: mipsel-unknown-linux-gnu
Configured with: ../gcc-4.4.1/configure
--target=mipsel-unknown-linux-gnu --prefix=/opt/cross
--enable-languages=c --without-headers --with-gnu-ld --with-gnu-as
--disable-shared --disable-threads
Thread model: single
gcc version 4.4.1 (GCC)
configure:2469: $? = 0
configure:2471: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2474: $? = 1
configure:2497: checking for C compiler default output file name
configure:2500: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include -g -O2
-minterlink-mips16     conftest.c  >&5
/opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
such file or directory
collect2: ld returned 1 exit status
configure:2503: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libmudflap"
| #define PACKAGE_TARNAME "libmudflap"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libmudflap 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libmudflap"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2541: error: in
`/home/uma/build-gcc-bootstrap/mipsel-unknown-linux-gnu/libmudflap':
configure:2544: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_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=mipsel-unknown-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=mipsel-unknown-linux-gnu
ac_cv_host=mipsel-unknown-linux-gnu
ac_cv_host_alias=mipsel-unknown-linux-gnu
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include'
ac_cv_prog_STRIP=/opt/cross/mipsel-unknown-linux-gnu/bin/strip
ac_cv_prog_make_make_set=yes
ac_cv_target=mipsel-unknown-linux-gnu
ac_cv_target_alias=mipsel-unknown-linux-gnu

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

ACLOCAL='${SHELL} /home/uma/gcc-4.4.1/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/uma/gcc-4.4.1/missing --run tar'
AR='/opt/cross/mipsel-unknown-linux-gnu/bin/ar'
AUTOCONF='${SHELL} /home/uma/gcc-4.4.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/uma/gcc-4.4.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/uma/gcc-4.4.1/missing --run automake-1.9'
AWK='gawk'
CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include'
CCDEPMODE=''
CFLAGS='-g -O2 -minterlink-mips16  '
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LD='/home/uma/build-gcc-bootstrap/./gcc/collect-ld'
LIBMUDFLAPTH_FALSE=''
LIBMUDFLAPTH_TRUE=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO='mipsel-unknown-linux-gnu-lipo'
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo --split-size=5000000'
MF_HAVE_STDINT_H=''
MF_HAVE_UINTPTR_T=''
NM='/home/uma/build-gcc-bootstrap/./gcc/nm'
NMEDIT=''
OBJDUMP='/opt/cross/mipsel-unknown-linux-gnu/bin/objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libmudflap'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libmudflap'
PACKAGE_STRING='libmudflap 1.0'
PACKAGE_TARNAME='libmudflap'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='/opt/cross/mipsel-unknown-linux-gnu/bin/ranlib'
SECTION_FLAGS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/opt/cross/mipsel-unknown-linux-gnu/bin/strip'
VERSION='1.0'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DSYMUTIL=''
ac_ct_DUMPBIN=''
ac_ct_LIPO=''
ac_ct_NM=''
ac_ct_NMEDIT=''
ac_ct_OBJDUMP=''
ac_ct_OTOOL64=''
ac_ct_OTOOL=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_libmudflapth=''
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
enable_shared='no'
enable_static=''
exec_prefix='NONE'
host='mipsel-unknown-linux-gnu'
host_alias='mipsel-unknown-linux-gnu'
host_cpu='mipsel'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/uma/gcc-4.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
multi_basedir='../../../gcc-4.4.1/libmudflap/..'
oldincludedir='/usr/include'
prefix='/opt/cross'
program_transform_name='s,^,mipsel-unknown-linux-gnu-,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='mipsel-unknown-linux-gnu'
target_alias='mipsel-unknown-linux-gnu'
target_cpu='mipsel'
target_noncanonical='mipsel-unknown-linux-gnu'
target_os='linux-gnu'
target_vendor='unknown'
toolexecdir=''
toolexeclibdir=''

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

#define PACKAGE "libmudflap"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "libmudflap"
#define PACKAGE_STRING "libmudflap 1.0"
#define PACKAGE_TARNAME "libmudflap"
#define PACKAGE_VERSION "1.0"
#define VERSION "1.0"

configure: exit 77

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Cross compile gcc 4.4.1
  2009-08-19 15:18 Cross compile gcc 4.4.1 naveen yadav
@ 2009-08-19 17:06 ` naveen yadav
  2009-08-19 20:16 ` naveen yadav
  1 sibling, 0 replies; 4+ messages in thread
From: naveen yadav @ 2009-08-19 17:06 UTC (permalink / raw)
  To: gcc-help, gcc-help

Hi All,

I am building crosss compiler toolchain for MIPS. I have download gcc
4.4.1 and binutils 2.1.19.

i have followed following sequence provided in
http://www.linux-mips.org/wiki/Toolchains

i have met following error .

/opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
such file or directory as file in config.log.

What may be problem.

Regards
Naveen


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.



It was created by libmudflap configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /home/uma/gcc-4.4.1/libmudflap/configure
--cache-file=./config.cache --enable-multilib
--with-cross-host=i686-pc-linux-gnu --prefix=/opt/cross
--without-headers --with-gnu-ld --with-gnu-as --disable-shared
--disable-threads --enable-languages=c
--program-transform-name=s,^,mipsel-unknown-linux-gnu-,
--with-target-subdir=mipsel-unknown-linux-gnu
--build=i686-pc-linux-gnu --host=mipsel-unknown-linux-gnu
--target=mipsel-unknown-linux-gnu
--srcdir=../../../gcc-4.4.1/libmudflap

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

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.23.1-42.fc8
uname -s = Linux
uname -v = #1 SMP Tue Oct 30 13:55:12 EDT 2007

/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: /usr/lib/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/lib/ccache
PATH: /usr/local/bin
PATH: /bin
PATH: /usr/bin
PATH: /opt/arm_v6_vfp_le/bin
PATH: /home/uma/bin
PATH: /opt/cross/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1376: loading cache ./config.cache
configure:1518: checking build system type
configure:1536: result: i686-pc-linux-gnu
configure:1544: checking host system type
configure:1558: result: mipsel-unknown-linux-gnu
configure:1566: checking target system type
configure:1580: result: mipsel-unknown-linux-gnu
configure:1627: checking for a BSD-compatible install
configure:1693: result: /usr/bin/install -c
configure:1704: checking whether build environment is sane
configure:1747: result: yes
configure:1812: checking for gawk
configure:1828: found /bin/gawk
configure:1838: result: gawk
configure:1848: checking whether make sets $(MAKE)
configure:1868: result: yes
configure:1944: checking for mipsel-unknown-linux-gnu-strip
configure:1970: result: /opt/cross/mipsel-unknown-linux-gnu/bin/strip
configure:2037: checking for --enable-version-specific-runtime-libs
configure:2052: result: no
configure:2055: checking whether to enable maintainer-specific
portions of Makefiles
configure:2064: result: no
configure:2148: checking for mipsel-unknown-linux-gnu-gcc
configure:2174: result: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include
configure:2458: checking for C compiler version
configure:2461: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include --version </dev/null
>&5
xgcc (GCC) 4.4.1
Copyright (C) 2009 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:2464: $? = 0
configure:2466: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include -v </dev/null >&5
Reading specs from /home/uma/build-gcc-bootstrap/./gcc/specs
Target: mipsel-unknown-linux-gnu
Configured with: ../gcc-4.4.1/configure
--target=mipsel-unknown-linux-gnu --prefix=/opt/cross
--enable-languages=c --without-headers --with-gnu-ld --with-gnu-as
--disable-shared --disable-threads
Thread model: single
gcc version 4.4.1 (GCC)
configure:2469: $? = 0
configure:2471: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2474: $? = 1
configure:2497: checking for C compiler default output file name
configure:2500: /home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include -g -O2
-minterlink-mips16     conftest.c  >&5
/opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
such file or directory
collect2: ld returned 1 exit status
configure:2503: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libmudflap"
| #define PACKAGE_TARNAME "libmudflap"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libmudflap 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libmudflap"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2541: error: in
`/home/uma/build-gcc-bootstrap/mipsel-unknown-linux-gnu/libmudflap':
configure:2544: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_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=mipsel-unknown-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=mipsel-unknown-linux-gnu
ac_cv_host=mipsel-unknown-linux-gnu
ac_cv_host_alias=mipsel-unknown-linux-gnu
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include'
ac_cv_prog_STRIP=/opt/cross/mipsel-unknown-linux-gnu/bin/strip
ac_cv_prog_make_make_set=yes
ac_cv_target=mipsel-unknown-linux-gnu
ac_cv_target_alias=mipsel-unknown-linux-gnu

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

ACLOCAL='${SHELL} /home/uma/gcc-4.4.1/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/uma/gcc-4.4.1/missing --run tar'
AR='/opt/cross/mipsel-unknown-linux-gnu/bin/ar'
AUTOCONF='${SHELL} /home/uma/gcc-4.4.1/missing --run autoconf'
AUTOHEADER='${SHELL} /home/uma/gcc-4.4.1/missing --run autoheader'
AUTOMAKE='${SHELL} /home/uma/gcc-4.4.1/missing --run automake-1.9'
AWK='gawk'
CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
-B/home/uma/build-gcc-bootstrap/./gcc/
-B/opt/cross/mipsel-unknown-linux-gnu/bin/
-B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
/opt/cross/mipsel-unknown-linux-gnu/include -isystem
/opt/cross/mipsel-unknown-linux-gnu/sys-include'
CCDEPMODE=''
CFLAGS='-g -O2 -minterlink-mips16  '
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LD='/home/uma/build-gcc-bootstrap/./gcc/collect-ld'
LIBMUDFLAPTH_FALSE=''
LIBMUDFLAPTH_TRUE=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO='mipsel-unknown-linux-gnu-lipo'
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='makeinfo --split-size=5000000'
MF_HAVE_STDINT_H=''
MF_HAVE_UINTPTR_T=''
NM='/home/uma/build-gcc-bootstrap/./gcc/nm'
NMEDIT=''
OBJDUMP='/opt/cross/mipsel-unknown-linux-gnu/bin/objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libmudflap'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libmudflap'
PACKAGE_STRING='libmudflap 1.0'
PACKAGE_TARNAME='libmudflap'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='/opt/cross/mipsel-unknown-linux-gnu/bin/ranlib'
SECTION_FLAGS=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/opt/cross/mipsel-unknown-linux-gnu/bin/strip'
VERSION='1.0'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DSYMUTIL=''
ac_ct_DUMPBIN=''
ac_ct_LIPO=''
ac_ct_NM=''
ac_ct_NMEDIT=''
ac_ct_OBJDUMP=''
ac_ct_OTOOL64=''
ac_ct_OTOOL=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_libmudflapth=''
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
enable_shared='no'
enable_static=''
exec_prefix='NONE'
host='mipsel-unknown-linux-gnu'
host_alias='mipsel-unknown-linux-gnu'
host_cpu='mipsel'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/uma/gcc-4.4.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
multi_basedir='../../../gcc-4.4.1/libmudflap/..'
oldincludedir='/usr/include'
prefix='/opt/cross'
program_transform_name='s,^,mipsel-unknown-linux-gnu-,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='mipsel-unknown-linux-gnu'
target_alias='mipsel-unknown-linux-gnu'
target_cpu='mipsel'
target_noncanonical='mipsel-unknown-linux-gnu'
target_os='linux-gnu'
target_vendor='unknown'
toolexecdir=''
toolexeclibdir=''

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

#define PACKAGE "libmudflap"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "libmudflap"
#define PACKAGE_STRING "libmudflap 1.0"
#define PACKAGE_TARNAME "libmudflap"
#define PACKAGE_VERSION "1.0"
#define VERSION "1.0"

configure: exit 77

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cross compile gcc 4.4.1
  2009-08-19 15:18 Cross compile gcc 4.4.1 naveen yadav
  2009-08-19 17:06 ` naveen yadav
@ 2009-08-19 20:16 ` naveen yadav
  2009-08-19 20:32   ` naveen yadav
  1 sibling, 1 reply; 4+ messages in thread
From: naveen yadav @ 2009-08-19 20:16 UTC (permalink / raw)
  To: gcc-help, gcc-help

Hi all ,

Above got fix with
export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export CC=gcc


Regards
Naveen

But not i am getting

checking dynamic linker characteristics... config.status: creating config.h
configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
config.status: executing default commands
make[1]: *** [configure-target-libssp] Error 1
Adding multilib support to Makefile in ../../../gcc-4.4.1/libiberty
multidirs=
with_multisubdir=
make[1]: Leaving directory `/home/uma/build-gcc-bootstrap'
make: *** [all] Error 2

Error



On Wed, Aug 19, 2009 at 3:37 PM, naveen yadav<yad.naveen@gmail.com> wrote:
> Hi All,
>
> I am building crosss compiler toolchain for MIPS. I have download gcc
> 4.4.1 and binutils 2.1.19.
>
> i have followed following sequence provided in
> http://www.linux-mips.org/wiki/Toolchains
>
> i have met following error .
>
> /opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
> such file or directory as file in config.log.
>
> What may be problem.
>
> Regards
> Naveen
>
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
>
>
> It was created by libmudflap configure 1.0, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>
>  $ /home/uma/gcc-4.4.1/libmudflap/configure
> --cache-file=./config.cache --enable-multilib
> --with-cross-host=i686-pc-linux-gnu --prefix=/opt/cross
> --without-headers --with-gnu-ld --with-gnu-as --disable-shared
> --disable-threads --enable-languages=c
> --program-transform-name=s,^,mipsel-unknown-linux-gnu-,
> --with-target-subdir=mipsel-unknown-linux-gnu
> --build=i686-pc-linux-gnu --host=mipsel-unknown-linux-gnu
> --target=mipsel-unknown-linux-gnu
> --srcdir=../../../gcc-4.4.1/libmudflap
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = localhost.localdomain
> uname -m = i686
> uname -r = 2.6.23.1-42.fc8
> uname -s = Linux
> uname -v = #1 SMP Tue Oct 30 13:55:12 EDT 2007
>
> /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: /usr/lib/qt-3.3/bin
> PATH: /usr/kerberos/bin
> PATH: /usr/lib/ccache
> PATH: /usr/local/bin
> PATH: /bin
> PATH: /usr/bin
> PATH: /opt/arm_v6_vfp_le/bin
> PATH: /home/uma/bin
> PATH: /opt/cross/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1376: loading cache ./config.cache
> configure:1518: checking build system type
> configure:1536: result: i686-pc-linux-gnu
> configure:1544: checking host system type
> configure:1558: result: mipsel-unknown-linux-gnu
> configure:1566: checking target system type
> configure:1580: result: mipsel-unknown-linux-gnu
> configure:1627: checking for a BSD-compatible install
> configure:1693: result: /usr/bin/install -c
> configure:1704: checking whether build environment is sane
> configure:1747: result: yes
> configure:1812: checking for gawk
> configure:1828: found /bin/gawk
> configure:1838: result: gawk
> configure:1848: checking whether make sets $(MAKE)
> configure:1868: result: yes
> configure:1944: checking for mipsel-unknown-linux-gnu-strip
> configure:1970: result: /opt/cross/mipsel-unknown-linux-gnu/bin/strip
> configure:2037: checking for --enable-version-specific-runtime-libs
> configure:2052: result: no
> configure:2055: checking whether to enable maintainer-specific
> portions of Makefiles
> configure:2064: result: no
> configure:2148: checking for mipsel-unknown-linux-gnu-gcc
> configure:2174: result: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include
> configure:2458: checking for C compiler version
> configure:2461: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include --version </dev/null
>>&5
> xgcc (GCC) 4.4.1
> Copyright (C) 2009 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:2464: $? = 0
> configure:2466: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include -v </dev/null >&5
> Reading specs from /home/uma/build-gcc-bootstrap/./gcc/specs
> Target: mipsel-unknown-linux-gnu
> Configured with: ../gcc-4.4.1/configure
> --target=mipsel-unknown-linux-gnu --prefix=/opt/cross
> --enable-languages=c --without-headers --with-gnu-ld --with-gnu-as
> --disable-shared --disable-threads
> Thread model: single
> gcc version 4.4.1 (GCC)
> configure:2469: $? = 0
> configure:2471: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include -V </dev/null >&5
> xgcc: '-V' must come at the start of the command line
> configure:2474: $? = 1
> configure:2497: checking for C compiler default output file name
> configure:2500: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include -g -O2
> -minterlink-mips16     conftest.c  >&5
> /opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
> such file or directory
> collect2: ld returned 1 exit status
> configure:2503: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "libmudflap"
> | #define PACKAGE_TARNAME "libmudflap"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "libmudflap 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "libmudflap"
> | #define VERSION "1.0"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2541: error: in
> `/home/uma/build-gcc-bootstrap/mipsel-unknown-linux-gnu/libmudflap':
> configure:2544: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i686-pc-linux-gnu
> ac_cv_build_alias=i686-pc-linux-gnu
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_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=mipsel-unknown-linux-gnu
> ac_cv_env_target_alias_set=set
> ac_cv_env_target_alias_value=mipsel-unknown-linux-gnu
> ac_cv_host=mipsel-unknown-linux-gnu
> ac_cv_host_alias=mipsel-unknown-linux-gnu
> ac_cv_prog_AWK=gawk
> ac_cv_prog_CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include'
> ac_cv_prog_STRIP=/opt/cross/mipsel-unknown-linux-gnu/bin/strip
> ac_cv_prog_make_make_set=yes
> ac_cv_target=mipsel-unknown-linux-gnu
> ac_cv_target_alias=mipsel-unknown-linux-gnu
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACLOCAL='${SHELL} /home/uma/gcc-4.4.1/missing --run aclocal-1.9'
> AMDEPBACKSLASH=''
> AMDEP_FALSE=''
> AMDEP_TRUE=''
> AMTAR='${SHELL} /home/uma/gcc-4.4.1/missing --run tar'
> AR='/opt/cross/mipsel-unknown-linux-gnu/bin/ar'
> AUTOCONF='${SHELL} /home/uma/gcc-4.4.1/missing --run autoconf'
> AUTOHEADER='${SHELL} /home/uma/gcc-4.4.1/missing --run autoheader'
> AUTOMAKE='${SHELL} /home/uma/gcc-4.4.1/missing --run automake-1.9'
> AWK='gawk'
> CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include'
> CCDEPMODE=''
> CFLAGS='-g -O2 -minterlink-mips16  '
> CPP=''
> CPPFLAGS=''
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR=''
> DSYMUTIL=''
> DUMPBIN=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> FGREP=''
> GREP=''
> INSTALL_DATA='/usr/bin/install -c -m 644'
> INSTALL_PROGRAM='/usr/bin/install -c'
> INSTALL_SCRIPT='/usr/bin/install -c'
> INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> LD='/home/uma/build-gcc-bootstrap/./gcc/collect-ld'
> LIBMUDFLAPTH_FALSE=''
> LIBMUDFLAPTH_TRUE=''
> LIBOBJS=''
> LIBS=''
> LIBTOOL=''
> LIPO='mipsel-unknown-linux-gnu-lipo'
> LN_S=''
> LTLIBOBJS=''
> MAINT='#'
> MAINTAINER_MODE_FALSE=''
> MAINTAINER_MODE_TRUE='#'
> MAKEINFO='makeinfo --split-size=5000000'
> MF_HAVE_STDINT_H=''
> MF_HAVE_UINTPTR_T=''
> NM='/home/uma/build-gcc-bootstrap/./gcc/nm'
> NMEDIT=''
> OBJDUMP='/opt/cross/mipsel-unknown-linux-gnu/bin/objdump'
> OBJEXT=''
> OTOOL64=''
> OTOOL=''
> PACKAGE='libmudflap'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME='libmudflap'
> PACKAGE_STRING='libmudflap 1.0'
> PACKAGE_TARNAME='libmudflap'
> PACKAGE_VERSION='1.0'
> PATH_SEPARATOR=':'
> RANLIB='/opt/cross/mipsel-unknown-linux-gnu/bin/ranlib'
> SECTION_FLAGS=''
> SED=''
> SET_MAKE=''
> SHELL='/bin/sh'
> STRIP='/opt/cross/mipsel-unknown-linux-gnu/bin/strip'
> VERSION='1.0'
> ac_ct_AR=''
> ac_ct_CC=''
> ac_ct_DSYMUTIL=''
> ac_ct_DUMPBIN=''
> ac_ct_LIPO=''
> ac_ct_NM=''
> ac_ct_NMEDIT=''
> ac_ct_OBJDUMP=''
> ac_ct_OTOOL64=''
> ac_ct_OTOOL=''
> ac_ct_RANLIB=''
> ac_ct_STRIP=''
> am__fastdepCC_FALSE=''
> am__fastdepCC_TRUE=''
> am__include=''
> am__leading_dot='.'
> am__quote=''
> am__tar='${AMTAR} chof - "$$tardir"'
> am__untar='${AMTAR} xf -'
> bindir='${exec_prefix}/bin'
> build='i686-pc-linux-gnu'
> build_alias='i686-pc-linux-gnu'
> build_cpu='i686'
> build_libmudflapth=''
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${prefix}/share'
> enable_shared='no'
> enable_static=''
> exec_prefix='NONE'
> host='mipsel-unknown-linux-gnu'
> host_alias='mipsel-unknown-linux-gnu'
> host_cpu='mipsel'
> host_os='linux-gnu'
> host_vendor='unknown'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> install_sh='/home/uma/gcc-4.4.1/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> lt_ECHO='echo'
> mandir='${prefix}/man'
> mkdir_p='mkdir -p --'
> multi_basedir='../../../gcc-4.4.1/libmudflap/..'
> oldincludedir='/usr/include'
> prefix='/opt/cross'
> program_transform_name='s,^,mipsel-unknown-linux-gnu-,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target='mipsel-unknown-linux-gnu'
> target_alias='mipsel-unknown-linux-gnu'
> target_cpu='mipsel'
> target_noncanonical='mipsel-unknown-linux-gnu'
> target_os='linux-gnu'
> target_vendor='unknown'
> toolexecdir=''
> toolexeclibdir=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE "libmudflap"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME "libmudflap"
> #define PACKAGE_STRING "libmudflap 1.0"
> #define PACKAGE_TARNAME "libmudflap"
> #define PACKAGE_VERSION "1.0"
> #define VERSION "1.0"
>
> configure: exit 77
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Cross compile gcc 4.4.1
  2009-08-19 20:16 ` naveen yadav
@ 2009-08-19 20:32   ` naveen yadav
  0 siblings, 0 replies; 4+ messages in thread
From: naveen yadav @ 2009-08-19 20:32 UTC (permalink / raw)
  To: gcc-help, gcc-help

Hi all ,

Above got fix with
export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export CC=gcc


Regards
Naveen

But not i am getting

checking dynamic linker characteristics... config.status: creating config.h
configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
config.status: executing default commands
make[1]: *** [configure-target-libssp] Error 1
Adding multilib support to Makefile in ../../../gcc-4.4.1/libiberty
multidirs=
with_multisubdir=
make[1]: Leaving directory `/home/uma/build-gcc-bootstrap'
make: *** [all] Error 2

Error



On Wed, Aug 19, 2009 at 3:37 PM, naveen yadav<yad.naveen@gmail.com> wrote:
> Hi All,
>
> I am building crosss compiler toolchain for MIPS. I have download gcc
> 4.4.1 and binutils 2.1.19.
>
> i have followed following sequence provided in
> http://www.linux-mips.org/wiki/Toolchains
>
> i have met following error .
>
> /opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
> such file or directory as file in config.log.
>
> What may be problem.
>
> Regards
> Naveen
>
>
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
>
>
> It was created by libmudflap configure 1.0, which was
> generated by GNU Autoconf 2.59.  Invocation command line was
>
>  $ /home/uma/gcc-4.4.1/libmudflap/configure
> --cache-file=./config.cache --enable-multilib
> --with-cross-host=i686-pc-linux-gnu --prefix=/opt/cross
> --without-headers --with-gnu-ld --with-gnu-as --disable-shared
> --disable-threads --enable-languages=c
> --program-transform-name=s,^,mipsel-unknown-linux-gnu-,
> --with-target-subdir=mipsel-unknown-linux-gnu
> --build=i686-pc-linux-gnu --host=mipsel-unknown-linux-gnu
> --target=mipsel-unknown-linux-gnu
> --srcdir=../../../gcc-4.4.1/libmudflap
>
> ## --------- ##
> ## Platform. ##
> ## --------- ##
>
> hostname = localhost.localdomain
> uname -m = i686
> uname -r = 2.6.23.1-42.fc8
> uname -s = Linux
> uname -v = #1 SMP Tue Oct 30 13:55:12 EDT 2007
>
> /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: /usr/lib/qt-3.3/bin
> PATH: /usr/kerberos/bin
> PATH: /usr/lib/ccache
> PATH: /usr/local/bin
> PATH: /bin
> PATH: /usr/bin
> PATH: /opt/arm_v6_vfp_le/bin
> PATH: /home/uma/bin
> PATH: /opt/cross/bin
>
>
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
>
> configure:1376: loading cache ./config.cache
> configure:1518: checking build system type
> configure:1536: result: i686-pc-linux-gnu
> configure:1544: checking host system type
> configure:1558: result: mipsel-unknown-linux-gnu
> configure:1566: checking target system type
> configure:1580: result: mipsel-unknown-linux-gnu
> configure:1627: checking for a BSD-compatible install
> configure:1693: result: /usr/bin/install -c
> configure:1704: checking whether build environment is sane
> configure:1747: result: yes
> configure:1812: checking for gawk
> configure:1828: found /bin/gawk
> configure:1838: result: gawk
> configure:1848: checking whether make sets $(MAKE)
> configure:1868: result: yes
> configure:1944: checking for mipsel-unknown-linux-gnu-strip
> configure:1970: result: /opt/cross/mipsel-unknown-linux-gnu/bin/strip
> configure:2037: checking for --enable-version-specific-runtime-libs
> configure:2052: result: no
> configure:2055: checking whether to enable maintainer-specific
> portions of Makefiles
> configure:2064: result: no
> configure:2148: checking for mipsel-unknown-linux-gnu-gcc
> configure:2174: result: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include
> configure:2458: checking for C compiler version
> configure:2461: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include --version </dev/null
>>&5
> xgcc (GCC) 4.4.1
> Copyright (C) 2009 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:2464: $? = 0
> configure:2466: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include -v </dev/null >&5
> Reading specs from /home/uma/build-gcc-bootstrap/./gcc/specs
> Target: mipsel-unknown-linux-gnu
> Configured with: ../gcc-4.4.1/configure
> --target=mipsel-unknown-linux-gnu --prefix=/opt/cross
> --enable-languages=c --without-headers --with-gnu-ld --with-gnu-as
> --disable-shared --disable-threads
> Thread model: single
> gcc version 4.4.1 (GCC)
> configure:2469: $? = 0
> configure:2471: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include -V </dev/null >&5
> xgcc: '-V' must come at the start of the command line
> configure:2474: $? = 1
> configure:2497: checking for C compiler default output file name
> configure:2500: /home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include -g -O2
> -minterlink-mips16     conftest.c  >&5
> /opt/cross/mipsel-unknown-linux-gnu/bin/ld: crt1.o: No such file: No
> such file or directory
> collect2: ld returned 1 exit status
> configure:2503: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "libmudflap"
> | #define PACKAGE_TARNAME "libmudflap"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "libmudflap 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "libmudflap"
> | #define VERSION "1.0"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2541: error: in
> `/home/uma/build-gcc-bootstrap/mipsel-unknown-linux-gnu/libmudflap':
> configure:2544: error: C compiler cannot create executables
> See `config.log' for more details.
>
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
>
> ac_cv_build=i686-pc-linux-gnu
> ac_cv_build_alias=i686-pc-linux-gnu
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value=
> ac_cv_env_CPP_set=
> ac_cv_env_CPP_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=mipsel-unknown-linux-gnu
> ac_cv_env_target_alias_set=set
> ac_cv_env_target_alias_value=mipsel-unknown-linux-gnu
> ac_cv_host=mipsel-unknown-linux-gnu
> ac_cv_host_alias=mipsel-unknown-linux-gnu
> ac_cv_prog_AWK=gawk
> ac_cv_prog_CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include'
> ac_cv_prog_STRIP=/opt/cross/mipsel-unknown-linux-gnu/bin/strip
> ac_cv_prog_make_make_set=yes
> ac_cv_target=mipsel-unknown-linux-gnu
> ac_cv_target_alias=mipsel-unknown-linux-gnu
>
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
>
> ACLOCAL='${SHELL} /home/uma/gcc-4.4.1/missing --run aclocal-1.9'
> AMDEPBACKSLASH=''
> AMDEP_FALSE=''
> AMDEP_TRUE=''
> AMTAR='${SHELL} /home/uma/gcc-4.4.1/missing --run tar'
> AR='/opt/cross/mipsel-unknown-linux-gnu/bin/ar'
> AUTOCONF='${SHELL} /home/uma/gcc-4.4.1/missing --run autoconf'
> AUTOHEADER='${SHELL} /home/uma/gcc-4.4.1/missing --run autoheader'
> AUTOMAKE='${SHELL} /home/uma/gcc-4.4.1/missing --run automake-1.9'
> AWK='gawk'
> CC='/home/uma/build-gcc-bootstrap/./gcc/xgcc
> -B/home/uma/build-gcc-bootstrap/./gcc/
> -B/opt/cross/mipsel-unknown-linux-gnu/bin/
> -B/opt/cross/mipsel-unknown-linux-gnu/lib/ -isystem
> /opt/cross/mipsel-unknown-linux-gnu/include -isystem
> /opt/cross/mipsel-unknown-linux-gnu/sys-include'
> CCDEPMODE=''
> CFLAGS='-g -O2 -minterlink-mips16  '
> CPP=''
> CPPFLAGS=''
> CYGPATH_W='echo'
> DEFS=''
> DEPDIR=''
> DSYMUTIL=''
> DUMPBIN=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP=''
> EXEEXT=''
> FGREP=''
> GREP=''
> INSTALL_DATA='/usr/bin/install -c -m 644'
> INSTALL_PROGRAM='/usr/bin/install -c'
> INSTALL_SCRIPT='/usr/bin/install -c'
> INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
> LD='/home/uma/build-gcc-bootstrap/./gcc/collect-ld'
> LIBMUDFLAPTH_FALSE=''
> LIBMUDFLAPTH_TRUE=''
> LIBOBJS=''
> LIBS=''
> LIBTOOL=''
> LIPO='mipsel-unknown-linux-gnu-lipo'
> LN_S=''
> LTLIBOBJS=''
> MAINT='#'
> MAINTAINER_MODE_FALSE=''
> MAINTAINER_MODE_TRUE='#'
> MAKEINFO='makeinfo --split-size=5000000'
> MF_HAVE_STDINT_H=''
> MF_HAVE_UINTPTR_T=''
> NM='/home/uma/build-gcc-bootstrap/./gcc/nm'
> NMEDIT=''
> OBJDUMP='/opt/cross/mipsel-unknown-linux-gnu/bin/objdump'
> OBJEXT=''
> OTOOL64=''
> OTOOL=''
> PACKAGE='libmudflap'
> PACKAGE_BUGREPORT=''
> PACKAGE_NAME='libmudflap'
> PACKAGE_STRING='libmudflap 1.0'
> PACKAGE_TARNAME='libmudflap'
> PACKAGE_VERSION='1.0'
> PATH_SEPARATOR=':'
> RANLIB='/opt/cross/mipsel-unknown-linux-gnu/bin/ranlib'
> SECTION_FLAGS=''
> SED=''
> SET_MAKE=''
> SHELL='/bin/sh'
> STRIP='/opt/cross/mipsel-unknown-linux-gnu/bin/strip'
> VERSION='1.0'
> ac_ct_AR=''
> ac_ct_CC=''
> ac_ct_DSYMUTIL=''
> ac_ct_DUMPBIN=''
> ac_ct_LIPO=''
> ac_ct_NM=''
> ac_ct_NMEDIT=''
> ac_ct_OBJDUMP=''
> ac_ct_OTOOL64=''
> ac_ct_OTOOL=''
> ac_ct_RANLIB=''
> ac_ct_STRIP=''
> am__fastdepCC_FALSE=''
> am__fastdepCC_TRUE=''
> am__include=''
> am__leading_dot='.'
> am__quote=''
> am__tar='${AMTAR} chof - "$$tardir"'
> am__untar='${AMTAR} xf -'
> bindir='${exec_prefix}/bin'
> build='i686-pc-linux-gnu'
> build_alias='i686-pc-linux-gnu'
> build_cpu='i686'
> build_libmudflapth=''
> build_os='linux-gnu'
> build_vendor='pc'
> datadir='${prefix}/share'
> enable_shared='no'
> enable_static=''
> exec_prefix='NONE'
> host='mipsel-unknown-linux-gnu'
> host_alias='mipsel-unknown-linux-gnu'
> host_cpu='mipsel'
> host_os='linux-gnu'
> host_vendor='unknown'
> includedir='${prefix}/include'
> infodir='${prefix}/info'
> install_sh='/home/uma/gcc-4.4.1/install-sh'
> libdir='${exec_prefix}/lib'
> libexecdir='${exec_prefix}/libexec'
> localstatedir='${prefix}/var'
> lt_ECHO='echo'
> mandir='${prefix}/man'
> mkdir_p='mkdir -p --'
> multi_basedir='../../../gcc-4.4.1/libmudflap/..'
> oldincludedir='/usr/include'
> prefix='/opt/cross'
> program_transform_name='s,^,mipsel-unknown-linux-gnu-,'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='${prefix}/etc'
> target='mipsel-unknown-linux-gnu'
> target_alias='mipsel-unknown-linux-gnu'
> target_cpu='mipsel'
> target_noncanonical='mipsel-unknown-linux-gnu'
> target_os='linux-gnu'
> target_vendor='unknown'
> toolexecdir=''
> toolexeclibdir=''
>
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
>
> #define PACKAGE "libmudflap"
> #define PACKAGE_BUGREPORT ""
> #define PACKAGE_NAME "libmudflap"
> #define PACKAGE_STRING "libmudflap 1.0"
> #define PACKAGE_TARNAME "libmudflap"
> #define PACKAGE_VERSION "1.0"
> #define VERSION "1.0"
>
> configure: exit 77
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-19 11:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-19 15:18 Cross compile gcc 4.4.1 naveen yadav
2009-08-19 17:06 ` naveen yadav
2009-08-19 20:16 ` naveen yadav
2009-08-19 20:32   ` naveen yadav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).