This is the mail archive of the crossgcc@sourceware.org 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] |
Am 07.08.2005 17:03, Dan Kegel wrote: > > Congrats on figuring it out! Thanks - but that doesn't bring the colour back to my hair ... :). > I'll put this in crosstool-0.39 as crosstool-0.38-nptl-schaefer.patch. This would too much honour, i merely added a few lines to the existing crosstool-0.37-nptl.patch (see below). I would prefer an update for this patch. > BTW, why'd you need to add --cache-file=config.cache ? > - Dan I don't know :) - it was in the crosstool-0.37-nptl.patch already. See below, that's the diff between "my" crosstool.sh and a crosstool-0.38 patched with the crosstool-0.37-nptl.patch. The first hunk was in fact already posted on this list by Khem Raj. I'm going to post an interdiff for crosstool-0.37-nptl.patch later today. Best regards, Peter --- crosstool.sh 2005-08-08 08:45:45.817433608 +0200 +++ crosstool.sh.new 2005-08-08 08:48:00.356980488 +0200 @@ -452,20 +452,31 @@ # will have to manually be copied from under the tree of the desired # target pthread implementation. cp ${GLIBC_DIR}/nptl/sysdeps/pthread/pthread.h $HEADERDIR/pthread.h - cp ${GLIBC_DIR}/nptl/sysdeps/unix/sysv/linux/${ARCH}/bits/pthreadtypes.h $HEADERDIR/bits/pthreadtypes.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/${ARCH}/bits/pthreadtypes.h # On s390, powerpc and sparc we also require bits/wordsize.h. case $TARGET in sparc* | s390* | powerpc* ) case $TARGET in - sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h ;; - sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h ;; - s390x* ) wordsize_h=sysdeps/s390/s390x/bits/wordsize.h ;; - s390* ) wordsize_h=sysdeps/s390/s390/bits/wordsize.h ;; - powerpc64* ) wordsize_h=sysdeps/powerpc/powerpc64/bits/wordsize.h ;; - powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h ;; + sparc64* ) wordsize_h=sysdeps/sparc/sparc64/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + ;; + sparc* ) wordsize_h=sysdeps/sparc/sparc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h + ;; + s390x* ) wordsize_h=sysdeps/s390/s390x/bits/wordsize.h + ;; + s390* ) wordsize_h=sysdeps/s390/s390/bits/wordsize.h + ;; + powerpc64* ) wordsize_h=sysdeps/powerpc/powerpc64/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; + powerpc* ) wordsize_h=sysdeps/powerpc/powerpc32/bits/wordsize.h + pthreadtypes_h=nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h + ;; esac test ! -f $HEADERDIR/bits/wordsize.h && cp ${GLIBC_DIR}/${wordsize_h} $HEADERDIR/bits/wordsize.h + cp ${GLIBC_DIR}/${pthreadtypes_h} $HEADERDIR/bits/pthreadtypes.h ;; esac fi # GLIBC_ADDONS_NPTL @@ -598,11 +609,13 @@ # Next we have to configure gcc, create libgcc.mk then edit it... # So much easier if we just edit the source tree, but hey... if test '!' -f ${GCC_DIR}/gcc/BASE-VER; then - make configure-libiberty - make -C libiberty libiberty.a - make configure-gcc + make configure-libiberty + make -C libiberty libiberty.a + make configure-gcc + make configure-libcpp + make all-libcpp else - make configure-gcc + make configure-gcc make configure-libcpp make configure-build-libiberty make all-libcpp ------ 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] |