Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3A6DD585.A50E8A7C@home.com> Date: Tue, 23 Jan 2001 12:03:33 -0700 From: Stephen Smith X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Cygwin Subject: Re: gcc build fails due to newlib circularity References: <3A6DB00F DOT 2D666918 AT home DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has anyone posted a patch on this > I am trying to build gcc as a cross-compiler host=cygwin > target=powerpc-eabi. > > I copied the newlib include files from the latest cygwin release to > the /usr/local/include directory and started the compile. The > following is the error log. > > Can someone help me get this fixed. > > Stephen > > make[1]: Entering directory `/work/build-gcc/libiberty' > make[2]: Entering directory `/work/build-gcc/libiberty/testsuite' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/work/build-gcc/libiberty/testsuite' > make[1]: Leaving directory `/work/build-gcc/libiberty' > make[1]: Entering directory `/work/build-gcc/texinfo' > make all-recursive > make[2]: Entering directory `/work/build-gcc/texinfo' > Making all in intl > make[3]: Entering directory `/work/build-gcc/texinfo/intl' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/work/build-gcc/texinfo/intl' > Making all in lib > make[3]: Entering directory `/work/build-gcc/texinfo/lib' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/work/build-gcc/texinfo/lib' > Making all in makeinfo > make[3]: Entering directory `/work/build-gcc/texinfo/makeinfo' > make[3]: Nothing to be done for `all'. > make[3]: Leaving directory `/work/build-gcc/texinfo/makeinfo' > make[2]: Leaving directory `/work/build-gcc/texinfo' > make[1]: Leaving directory `/work/build-gcc/texinfo' > make[1]: Entering directory `/work/build-gcc/etc' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/work/build-gcc/etc' > make[1]: Entering directory `/work/build-gcc/gcc' > (cd intl && make all) > make[2]: Entering directory `/work/build-gcc/gcc/intl' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/work/build-gcc/gcc/intl' > gcc -c -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=\"/usr/local/lib/gcc-lib/powerpc-eabi/2.95.2/include\" > \ > -DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-eabi/2.95.2/../../../..`echo > /usr/local | sed -e 's|^/usr/local||' -e > 's|/[^/]*|/..|g'`/include/g++-3\" \ > -DCROSS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-eabi/2.95.2/../../../../powerpc-eabi/sys-include\" > \ > -DTOOL_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/powerpc-eabi/2.95.2/../../../../powerpc-eabi/include\" > \ > -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \ > -DSTD_PROTO_DIR=\"/usr/local/lib/gcc-lib/powerpc-eabi/2.95.2\" \ > ../../gcc-2.95.2/gcc/protoize.c > In file included from /usr/local/include/sys/dirent.h:12, > from /usr/include/dirent.h:4, > from /usr/local/include/sys/dirent.h:12, > from /usr/include/dirent.h:4, > from /usr/local/include/sys/dirent.h:12, ... > from /usr/local/include/sys/dirent.h:12, > from /usr/local/include/dirent.h:4, > from ../../gcc-2.95.2/gcc/protoize.c:66: > /usr/include/dirent.h:4: macro or `#include' recursion too deep > /usr/include/dirent.h:6: macro or `#include' recursion too deep > /usr/include/dirent.h:6: Invalid token in expression > /usr/include/dirent.h:6: unterminated `#if' conditional > ../../gcc-2.95.2/gcc/protoize.c:65: unterminated `#if' conditional > make[1]: *** [protoize.o] Error 1 > make[1]: Leaving directory `/work/build-gcc/gcc' > make: *** [all-gcc] Error 2 > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple