This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Thanks for the earlier reply. I am using same --prefix for building both binutils and GCC. I didn't have the write permission on my /usr . So I used a new prefix as /bar under my home directory. With that binutils passed installation but GCC is still failing. This is my setup: cd /home/rkadekar host=LINUX target=powerpc-unknown-eabi prefix=/bar i=$prefix/bin cd build-binutils ../binutils-2.10/configure --target=$target --prefix=$prefix -v make all install This step passed #Configure, build and install gcc cd ../build-gcc ../gcc-2.95.2/configure --target=$target --prefix=$prefix -v make all <deleted the all other messages> checking for string.h... yes checking for unistd.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h that is POSIX.1 compatible... no checking whether the C compiler (/home/rkadekar/build-gcc/gcc/xgcc -B/home/rkadekar/build-gcc/gcc/ -B/home/rkadekar/bar/powerpc-unknown-eabi/bin/ -g -O2 ) works... no gmake[1]: Entering directory `/home/rkadekar/build-gcc/powerpc-unknown-eabi/libio' if [ x"no" = xyes ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir rootme=`pwd`/ ; export rootme; \ CC="/home/rkadekar/build-gcc/gcc/xgcc -B/home/rkadekar/build-gcc/gcc/ -B/home/rkadekar/bar/powerpc-unknown-eabi/bin/ -I. -I../../../gcc-2.95.2/libio"; export CC; \ CXX="/home/rkadekar/build-gcc/gcc/xgcc -B/home/rkadekar/build-gcc/gcc/ -B/home/rkadekar/bar/powerpc-unknown-eabi/bin/ -I. -I../../../gcc-2.95.2/libio -nostdinc++ -nostdinc++ -g -O2"; export CXX; \ CONFIG_NM="powerpc-unknown-eabi-nm"; export CONFIG_NM; \ /bin/sh ../../../gcc-2.95.2/libio/gen-params LIB_VERSION=2.8.0 >tmp-params.h gmake[1]: Leaving directory `/home/rkadekar/build-gcc/powerpc-unknown-eabi/libio' dummy.c:1: sys/types.h: No such file or directory dummy.c:8: stdio.h: No such file or directory dummy.c:9: time.h: No such file or directory dummy.c:10: signal.h: No such file or directory gen-params: could not invoke /home/rkadekar/build-gcc/gcc/xgcc -B/home/rkadekar/build-gcc/gcc/ -B/home/rkadekar/bar/powerpc-unknown-eabi/bin/ -I. -I../../../gcc-2.95.2/libio -E on dummy.c gmake[1]: *** [_G_config.h] Error 1 gmake: *** [all-target-libio] Error 2 Why is it finding some include files and failing for others ? locate these files yielded the result shown below. locate stdio.h /home/rkadekar/gcc-2.95.2/libio/dbz/stdio.h /home/rkadekar/gcc-2.95.2/libio/iostdio.h /home/rkadekar/gcc-2.95.2/libio/stdio/stdio.h /home/rkadekar/newlib-1.8.2/newlib/libc/include/stdio.h /usr/include/bits/stdio.h /usr/include/stdio.h /usr/lib/bcc/include/stdio.h Which one is it looking for ? Any help is appreciated. Thanks, RK __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |