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: <002201c0d017$e4a2beb0$3b00000a@james> From: "James Hatch" To: Subject: Problems building GDB. Date: Sat, 28 Apr 2001 13:17:36 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 I'm trying to build the current gdb, and I'm not having very much luck. Here's an excerpt from the build: make[2]: Entering directory `/home/james/build-gdb/tcl/cygwin' gcc -DPACKAGE=\"libtcl_cygwin\" -DVERSION=\"8.0\" -DHAVE_GETCWD=1 -DHAVE_OPE NDIR =1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DNO_VAL UES_ H=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TI ME=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -DR ETSI GTYPE=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -I. -I../../../gdb-200 0112 5-1/tcl/cygwin -I../../../gdb-20001125-1/tcl/cygwin/../generic -D__TCL_UN IX_V ARIANT -DTCL_LIBRARY='"/usr/local/share/tcl8.0"' -DTCL_PACKAGE_PATH='"NONE/l ib"' -g -O2 -c ../../../gdb-20001125-1/tcl/cygwin/../generic/tclEnv.c In file included from /usr/include/w32api/windef.h:145, from /usr/include/w32api/windows.h:98, from ../../../gdb-20001125-1/tcl/cygwin/../generic/tclEnv.c:750 : /usr/include/w32api/winnt.h:48: parse error before `CCHAR' /usr/include/w32api/winnt.h:48: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:68: parse error before `*' /usr/include/w32api/winnt.h:68: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:69: parse error before `*' /usr/include/w32api/winnt.h:69: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:79: parse error before `TCHAR' /usr/include/w32api/winnt.h:79: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:82: parse error before `TBYTE' /usr/include/w32api/winnt.h:82: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:83: parse error before `*' /usr/include/w32api/winnt.h:83: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:84: parse error before `*' /usr/include/w32api/winnt.h:84: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:103: parse error before `*' /usr/include/w32api/winnt.h:103: warning: data definition has no type or storage class /usr/include/w32api/winnt.h:104: parse error before `*' /usr/include/w32api/winnt.h:104: warning: data definition has no type or storage class I'm trying to build a cross-development system using cygwin, but I haven't been very successful to this point. I've got a compiler/libraries for my cross-development environment, but I was hoping to use GDB to debug using BDM. P.S. After several unsuccesful compilation attempts, I tried un-tarring the archive again and when I did I got a huge group of error messages about not being able to extract files because the directories they went in didn't exist. (The tix, tcl, itcl, tk directories in the top-level of the tar.gz). Help, Please. Thanks in Advance for any help or direction someone can give me on this. P.P.S. Can I use a Canadian-cross (ie a linux hosted pc-cygwin targeted = crosscompiler to build a gdb cross-debugger for powerpc-eabi) to solve = this problem.=20 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple