This is the mail archive of the cygwin@sourceware.cygnus.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: gnu-win32 B19: gdb and template


Hi there:

I think that I use the latest egcs.  My gcc is egcs-2.91.57.  But my gdb is
probably 'old.'  It is 4.16-B19.  I couldn't find a gdb 4.17.  So I decided to
build one myself.  But the configuration stage failed: cannot find a compatible
ld.  My ld is 2.9.4 (with BFD 980830).  Any idea what I should do with this
kind of situation?  Do you know where I can get a precompiled binary of gdb
4.14?  Thanks.

>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:

Alexandre> Xiaomao Xiao <xiao@cmold.com> writes:
>> I recently tried to debug a c++ program with templates on my Windows NT box
>> installed with gnu-win32 B19.

Alexandre> Have you installed egcs?  AFAIK, gnu-win32 B19 comes with gcc 2.7.*,
Alexandre> run gcc -v to check.  gcc 2.7 has some bugs in the generation of
Alexandre> debugging information and, AFAIK, so does gdb 4.16.  You may want to
Alexandre> install gdb 4.17 too.

Alexandre> -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org
Alexandre> mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade
Alexandre> Estadual de Campinas, SP, Brasil




-- 

Xiaomao

=================================================================
Xiaomao (Mark) Xiao                  E-Mail: xiao@cmold.com
C-MOLD                                  TEL: (607) 257-4949 x 699
31 Dutch Mill Road                      FAX: (607) 257-6355
Ithaca, NY 14850                        URL: http://www.cmold.com
=================================================================
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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