This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems building GDB.



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]