------- Comment #9 from andris dot pavenis at iki dot fi 2010-06-05 06:38 ------- Did some tests
Using my own patches (for libstdc++-v3 only error_constants.h and autoconf/automake related stuff left over from earlier native builds of gcc for DJGPP) build of Linux (x86_64, Fedora 12) to DJGPP cross-compiler went through without errors when I left building Ada cross-compiler out. However make install DESTDIR=... failed in libstdc++v3/python. It seems that DESTDIR somewhere did not reach target. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/src' make[3]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/src' Making install in po make[3]: Entering directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/po' make[4]: Entering directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/po' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/po' make[3]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/po' Making install in testsuite make[3]: Entering directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/testsuite' make[4]: Entering directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/testsuite' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/testsuite' make[3]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/testsuite' Making install in python make[3]: Entering directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/python' make[4]: Entering directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/python' make[4]: Nothing to be done for `install-exec-am'. /usr/bin/install -c -m 644 gdb.py /home/andris/Build/rpm-root/BUILDROOT/djcross-gcc-4.5.0-1ap.x86_64/usr/lib64/gcc/i586-pc-msdosdjgpp/4.5.0/libstdc++.a-gdb.py test -z "/usr/share/gcc-4.5.0/python" || /bin/mkdir -p "/usr/share/gcc-4.5.0/python" /bin/mkdir: cannot create directory `/usr/share/gcc-4.5.0': Permission denied make[4]: *** [install-nobase_pythonDATA] Error 1 make[4]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/python' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3/python' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross/i586-pc-msdosdjgpp/libstdc++-v3' make[1]: *** [install-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/home/andris/Build/rpm-root/BUILD/djcross-gcc-4.5.0/djcross' make: *** [install] Error 2 virhe: Bad exit status from /home/andris/Build/rpm-root/tmp/rpm-tmp.KgV52m (%install) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43918