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]

Re: Problems building GDB.


On Sat, Apr 28, 2001 at 01:17:36PM -0600, James Hatch wrote:
>
>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

The CVS version of gdb builds fine.

Older versions require that you do:

CC='gcc -mwin32' configure

...this is a recording.  (beep)

cgf

--
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]