public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Help Understanding Error Encountered When Building Cross-Compiler
@ 2002-10-31 13:42 Tony Cerreto
  0 siblings, 0 replies; only message in thread
From: Tony Cerreto @ 2002-10-31 13:42 UTC (permalink / raw)
  To: gcc-help

Hi:
I am trying to build a gcc cross-compiler for the PowerPC to support
both "c" and "c++".  I was able to successfully build just a "c"
compiler using the configuration parameters below with the additional
parameter "--enable-languages=c".  However, when I specify
"--enable-languages=c,c++" I receive an error.  I also receive an error
when removing the --enable-languages parameter altogether which should
build the entire compiler collection.   Below is the CONFIGURATION
statement, the MAKE RESULTS with the error received and then the MAKE
INSTALL RESULTS with the error received.  Lastly, although I have not
thoroughly tested the compiler collection produced, a g++.exe and
gcc.exe was produced.   Does anyone know why I received these errors?
Thanks.
Tony Cerreto
IBM Endicott
cerreto@us.ibm.com

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CONFIGURATION
/cygdrive/c/gnu/gcc-3.2/configure --with-gnu-as --with-gnu-ld
--with-cpu=403 --enable-win32-registry --disable-nls --disable-multilib
--target=powerpc-IBM-eabi

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
MAKE RESULTS......

Configuring in powerpc-IBM-eabi/libiberty
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for makeinfo... makeinfo
checking for perl... perl
checking host system type... powerpc-IBM-eabi
checking build system type... i686-pc-cygwin
checking for powerpc-IBM-eabi-ar... (cached) powerpc-IBM-eabi-ar
checking for powerpc-IBM-eabi-ranlib... (cached) powerpc-IBM-eabi-ranlib

checking for gcc... (cached) /cygdrive/c/gnu/object-gcc-3.2/gcc/xgcc
-B/cygdrive
/c/gnu/object-gcc-3.2/gcc/ -B/usr/local/powerpc-IBM-eabi/bin/
-B/usr/local/power
pc-IBM-eabi/lib/ -isystem /usr/local/powerpc-IBM-eabi/include
checking whether we are using GNU C... (cached) yes
checking whether /cygdrive/c/gnu/object-gcc-3.2/gcc/xgcc
-B/cygdrive/c/gnu/objec
t-gcc-3.2/gcc/ -B/usr/local/powerpc-IBM-eabi/bin/
-B/usr/local/powerpc-IBM-eabi/
lib/ -isystem /usr/local/powerpc-IBM-eabi/include accepts -g... (cached)

yes
checking for POSIXized ISC... no
checking for working const... yes
checking for inline... inline
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) /lib/cpp
checking for sys/file.h... grep: conftest.out: No such file or directory

yes
checking for sys/param.h... grep: conftest.out: No such file or
directory
yes
checking for limits.h... grep: conftest.out: No such file or directory
yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... grep: conftest.out: No such file or directory
yes
checking for strings.h... grep: conftest.out: No such file or directory
yes
checking for sys/time.h... grep: conftest.out: No such file or directory

yes
checking for time.h... grep: conftest.out: No such file or directory
yes
checking for sys/resource.h... grep: conftest.out: No such file or
directory
yes
checking for sys/stat.h... grep: conftest.out: No such file or directory

yes
checking for sys/mman.h... grep: conftest.out: No such file or directory

yes
checking for fcntl.h... grep: conftest.out: No such file or directory
yes
checking for alloca.h... grep: conftest.out: No such file or directory
yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... no
checking whether errno must be declared... yes
checking for ANSI C header files... grep: conftest.out: No such file or
director
y
no
checking for uintptr_t... no
checking whether the C compiler (/cygdrive/c/gnu/object-gcc-3.2/gcc/xgcc

-B/cygd
rive/c/gnu/object-gcc-3.2/gcc/ -B/usr/local/powerpc-IBM-eabi/bin/
-B/usr/local/p
owerpc-IBM-eabi/lib/ -isystem /usr/local/powerpc-IBM-eabi/include -g -O2

) works
... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make: *** [configure-target-libiberty] Error 1


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

$ MAKE INSTALL RESULTS
......
Making install in libmath
make[2]: Entering directory
`/cygdrive/c/gnu/object-gcc-3.2/powerpc-IBM-eabi/lib
stdc++-v3/libmath'
/bin/sh ../libtool --mode=compile
/cygdrive/c/gnu/object-gcc-3.2/gcc/xgcc -B/cyg
drive/c/gnu/object-gcc-3.2/gcc/ -B/usr/local/powerpc-IBM-eabi/bin/
-B/usr/local/
powerpc-IBM-eabi/lib/ -isystem /usr/local/powerpc-IBM-eabi/include
-DHAVE_CONFIG
_H -I. -I/cygdrive/c/gnu/gcc-3.2/libstdc++-v3/libmath -I..      -g -O2
-c /cygdr
ive/c/gnu/gcc-3.2/libstdc++-v3/libmath/stubs.c
/cygdrive/c/gnu/object-gcc-3.2/gcc/xgcc
-B/cygdrive/c/gnu/object-gcc-3.2/gcc/ -B
/usr/local/powerpc-IBM-eabi/bin/ -B/usr/local/powerpc-IBM-eabi/lib/
-isystem /us
r/local/powerpc-IBM-eabi/include -DHAVE_CONFIG_H -I.
-I/cygdrive/c/gnu/gcc-3.2/l
ibstdc++-v3/libmath -I.. -g -O2 -c
/cygdrive/c/gnu/gcc-3.2/libstdc++-v3/libmath/
stubs.c -o stubs.o
/cygdrive/c/gnu/gcc-3.2/libstdc++-v3/libmath/stubs.c:30:18: math.h: No
such file
 or directory
make[2]: *** [stubs.lo] Error 1
make[2]: Leaving directory
`/cygdrive/c/gnu/object-gcc-3.2/powerpc-IBM-eabi/libs
tdc++-v3/libmath'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/cygdrive/c/gnu/object-gcc-3.2/powerpc-IBM-eabi/libs
tdc++-v3'
make: *** [install-target-libstdc++-v3] Error 2



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-10-31 21:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-31 13:42 Help Understanding Error Encountered When Building Cross-Compiler Tony Cerreto

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).