This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
First the background ###################################################################### export PATH=".:/mingw/bin:/bin" export PREFIX=/c/linux-root export BUILD_DIR=/c/linux-root/build export SRC_DIR=/c/linux-root/src export TARBALLS_DIR=/c/linux-root/src export PTXDIST_DIR=ptxdist-testing-20031113 export BINUTILS_DIR=binutils-2.14.90.0.5 export GCC_DIR=gcc-3.3.3 export GLIBC_DIR=glibc-2.3.2 export GLIBCTHREADS_FILENAME=glibc-linuxthreads-2.3.2 export LINUX_DIR=linux-2.6.5 export TARGET=i686-pc-linux-gnu export TARGET_CFLAGS="-O" unset USE_SYSROOT host and build i686-pc-mingw32 in the msys environment attempting to build using crossgcc-0.28-rc1 ./getandpatch.sh apply gcc patch to fix collect2.c under MinGW http://www.hangar-eleven.de/bin/consoledev/ngc/gcc-3.3.2-MingW.diff make the kernel include/asm-i386 -> include/asm 'symlink' by hand ./crosstool.sh ###################################################################### The problem is with building glibc headers. The specific error is: No rule to make target m_signbitl.c I can't find reference to a similar error online anywhere, so I figure it's something MinGW specific causing the problem. The last few lines of the build process before the error: ###################################################################### mv -f /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isinf.T /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isinf.d rm /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_copysignl.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_finitef.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isinf.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_signbitl.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_modff.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_copysign.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isnanl.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_frexpl.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_finite.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_ldexpl.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isinff.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_scalbnf.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_finitel.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_modf.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_frexp.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_copysignf.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isnan.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_modfl.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_signbitf.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isinfl.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_scalbnl.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_signbit.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_isnanf.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_scalbn.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_frexpf.S /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_ldexp.c /c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_ldexpf.c make[2]: Leaving directory `/c/linux-root/src/glibc-2.3.2/math' make[2]: Entering directory `/c/linux-root/src/glibc-2.3.2/math' make[2]: *** No rule to make target `c:/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_signbitl.c', needed by `/c/linux-root/src/crosstool-0.28-rc1/build-glibc-headers/math/m_signbitl.d'. Stop. make[2]: Leaving directory `/c/linux-root/src/glibc-2.3.2/math' make[1]: *** [math/install-headers] Error 2 make[1]: Leaving directory `/c/linux-root/src/glibc-2.3.2' make: *** [install-headers] Error 2 ###################################################################### Looking further back, both m_signbitl.c and m_signbitl.d were created previous to this point, but m_signbitl.c got erased by that final 'rm'. Could the problem be something with the msys/mingw version of make? There's no telling what sorts of new problems I'll encounter after I get past this point, but it *is* possible to build a cross-gcc under mingw/msys for other targets so with a bit of work I hope to get this target built. I appreciate any help getting this to work. Thanks, Eric ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |