This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libstdc++-v3/libmath: cannot find math.h
- From: Shaun Jackman <sjackman at pathwayconnect dot com>
- To: crossgcc <crossgcc at sources dot redhat dot com>
- Cc: gcc <gcc at gcc dot gnu dot org>
- Date: 19 Aug 2003 09:50:14 -0600
- Subject: libstdc++-v3/libmath: cannot find math.h
- Organization: Pathway Connectivity
Building gcc fails while building libstdc++-v3/libmath. What's gone
wrong?
Thanks,
Shaun
$ ./config.guess
i686-pc-linux-gnu
$ ../gcc-3.3/configure \
--enable-languages=c++ \
--enable-multilib=no \
--with-cpu=strongarm1100 \
--with-newlib \
--target=arm-wince-pe
[clip]
$ make
[clip]
Making all in libmath
make[4]: Entering directory
`/home/greimer/toolchain/pocketpc/gcc/build-gcc-3.3/arm-wince-pe/libstdc++-v3/libmath'
/bin/sh ../libtool --tag CC --mode=compile
/home/greimer/toolchain/pocketpc/gcc/build-gcc-3.3/gcc/xgcc
-B/home/greimer/toolchain/pocketpc/gcc/build-gcc-3.3/gcc/
-B/tools/pocketpc/arm-wince-pe/bin/ -B/tools/pocketpc/arm-wince-pe/lib/
-isystem /tools/pocketpc/arm-wince-pe/include -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.3/libstdc++-v3/libmath -I.. -O2 -g -O2 -c
../../../../gcc-3.3/libstdc++-v3/libmath/stubs.c
/home/greimer/toolchain/pocketpc/gcc/build-gcc-3.3/gcc/xgcc
-B/home/greimer/toolchain/pocketpc/gcc/build-gcc-3.3/gcc/
-B/tools/pocketpc/arm-wince-pe/bin/
-B/tools/pocketpc/arm-wince-pe/lib/ -isystem
/tools/pocketpc/arm-wince-pe/include -DHAVE_CONFIG_H -I.
-I../../../../gcc-3.3/libstdc++-v3/libmath -I.. -O2
-g -O2 -c ../../../../gcc-3.3/libstdc++-v3/libmath/stubs.c -o stubs.o
../../../../gcc-3.3/libstdc++-v3/libmath/stubs.c:30:18: math.h: No such file or directory
make[4]: *** [stubs.lo] Error 1