linux 2 solaris (no such file or directory)
John Galt
massa15@rediffmail.com
Mon Sep 24 23:05:00 GMT 2001
Hi,
I wanna build a linux 2 solaris cross compiler. I've referred to the following documents
http://is.rice.edu/nwelsh/cross-compiler
williams gatliff's tutorial..
http://jaeger.norpheus.net/linux/cross-compiler
& a cross-compiler howto...
but i've not been able to.
I'm not able to create even a gootstrap gcc I've been able to build-binutils perfectly.I've set the path also properly
I've attached the make.log file ....
Where is it that i'm going wrong.
Thanx in advance.
Bye.
-- Amit Khandelwal
-------------- next part --------------
make[1]: Entering directory `/home/amit/foo/build-gcc/libiberty'
if [ x"no" = xyes ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/argv.c -o pic/argv.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/argv.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/choose-temp.c -o pic/choose-temp.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/choose-temp.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/concat.c -o pic/concat.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/concat.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/cplus-dem.c -o pic/cplus-dem.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/cplus-dem.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/fdmatch.c -o pic/fdmatch.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/fdmatch.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/fnmatch.c -o pic/fnmatch.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/fnmatch.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/getopt.c -o pic/getopt.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/getopt.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/getopt1.c -o pic/getopt1.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/getopt1.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/getruntime.c -o pic/getruntime.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/getruntime.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/hex.c -o pic/hex.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/hex.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/floatformat.c -o pic/floatformat.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/floatformat.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/objalloc.c -o pic/objalloc.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/objalloc.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/obstack.c -o pic/obstack.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/obstack.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/pexecute.c -o pic/pexecute.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/pexecute.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/spaces.c -o pic/spaces.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/spaces.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/splay-tree.c -o pic/splay-tree.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/splay-tree.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/strerror.c -o pic/strerror.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/strerror.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/strsignal.c -o pic/strsignal.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/strsignal.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xatexit.c -o pic/xatexit.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xatexit.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xexit.c -o pic/xexit.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xexit.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xmalloc.c -o pic/xmalloc.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xmalloc.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xstrdup.c -o pic/xstrdup.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xstrdup.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xstrerror.c -o pic/xstrerror.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/xstrerror.c
test x"no" != xyes || \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/mkstemps.c -o pic/mkstemps.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../gcc-2.95.2/libiberty/../include ../../gcc-2.95.2/libiberty/mkstemps.c
rm -f libiberty.a
ar rc libiberty.a \
argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o mkstemps.o
ranlib libiberty.a
rm -f needed-list; touch needed-list; \
for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do \
for g in mkstemps.o ; do \
case "$g" in \
*$f*) echo $g >> needed-list ;; \
esac; \
done; \
done
echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o > required-list
make[2]: Entering directory `/home/amit/foo/build-gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amit/foo/build-gcc/libiberty/testsuite'
make[1]: Leaving directory `/home/amit/foo/build-gcc/libiberty'
make[1]: Entering directory `/home/amit/foo/build-gcc/texinfo'
make all-recursive
make[2]: Entering directory `/home/amit/foo/build-gcc/texinfo'
Making all in intl
make[3]: Entering directory `/home/amit/foo/build-gcc/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amit/foo/build-gcc/texinfo/intl'
Making all in lib
make[3]: Entering directory `/home/amit/foo/build-gcc/texinfo/lib'
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl -g -O2 -c ../../../gcc-2.95.2/texinfo/lib/getopt.c
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl -g -O2 -c ../../../gcc-2.95.2/texinfo/lib/getopt1.c
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl -g -O2 -c ../../../gcc-2.95.2/texinfo/lib/xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/lib -I.. -I../intl -g -O2 -c ../../../gcc-2.95.2/texinfo/lib/xstrdup.c
rm -f libtxi.a
ar cru libtxi.a getopt.o getopt1.o xmalloc.o xstrdup.o
ranlib libtxi.a
make[3]: Leaving directory `/home/amit/foo/build-gcc/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/home/amit/foo/build-gcc/texinfo/makeinfo'
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/makeinfo -I.. -I../../../gcc-2.95.2/texinfo/lib -I../intl -DLOCALEDIR=\"/home/amit/foo/build-install/share/locale\" -g -O2 -c ../../../gcc-2.95.2/texinfo/makeinfo/makeinfo.c
gcc -DHAVE_CONFIG_H -I. -I../../../gcc-2.95.2/texinfo/makeinfo -I.. -I../../../gcc-2.95.2/texinfo/lib -I../intl -DLOCALEDIR=\"/home/amit/foo/build-install/share/locale\" -g -O2 -c ../../../gcc-2.95.2/texinfo/makeinfo/multi.c
gcc -g -O2 -o makeinfo makeinfo.o multi.o ../lib/libtxi.a
make[3]: Leaving directory `/home/amit/foo/build-gcc/texinfo/makeinfo'
make[2]: Leaving directory `/home/amit/foo/build-gcc/texinfo'
make[1]: Leaving directory `/home/amit/foo/build-gcc/texinfo'
make[1]: Entering directory `/home/amit/foo/build-gcc/gcc'
gcc -DCROSS_COMPILE -DIN_GCC -DHAIFA -g -O2 -DHAVE_CONFIG_H -I. -I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config -I../../gcc-2.95.2/gcc/../include \
-DGCC_INCLUDE_DIR=\"/home/amit/foo/build-install/lib/gcc-lib/sparc-sun-solaris2/2.95.2/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/home/amit/foo/build-install/lib/gcc-lib/sparc-sun-solaris2/2.95.2/../../../..`echo /home/amit/foo/build-install | sed -e 's|^/home/amit/foo/build-install||' -e 's|/[^/]*|/..|g'`/include/g++-3\" \
-DLOCAL_INCLUDE_DIR=\"/home/amit/foo/build-install/include\" \
-DCROSS_INCLUDE_DIR=\"/home/amit/foo/build-install/lib/gcc-lib/sparc-sun-solaris2/2.95.2/../../../../sparc-sun-solaris2/sys-include\" \
-DTOOL_INCLUDE_DIR=\"/home/amit/foo/build-install/lib/gcc-lib/sparc-sun-solaris2/2.95.2/../../../../sparc-sun-solaris2/include\" \
-c `echo ../../gcc-2.95.2/gcc/cccp.c | sed 's,^\./,,'`
In file included from ../../gcc-2.95.2/gcc/system.h:32,
from ../../gcc-2.95.2/gcc/cccp.c:23:
../../gcc-2.95.2/gcc/stdio.h:22:27: iso/stdio_iso.h: No such file or directory
In file included from ../../gcc-2.95.2/gcc/system.h:64,
from ../../gcc-2.95.2/gcc/cccp.c:23:
../../gcc-2.95.2/gcc/ctype.h:18:27: iso/ctype_iso.h: No such file or directory
In file included from ../../gcc-2.95.2/gcc/system.h:132,
from ../../gcc-2.95.2/gcc/cccp.c:23:
../../gcc-2.95.2/gcc/string.h:18:28: iso/string_iso.h: No such file or directory
In file included from ../../gcc-2.95.2/gcc/system.h:145,
from ../../gcc-2.95.2/gcc/cccp.c:23:
../../gcc-2.95.2/gcc/stdlib.h:18:28: iso/stdlib_iso.h: No such file or directory
make[1]: *** [cccp.o] Error 1
make[1]: Leaving directory `/home/amit/foo/build-gcc/gcc'
make: *** [all-gcc] Error 2
----------------
More information about the crossgcc
mailing list