This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

Re: GDB for PE/Cywin target won't build on linux


Once I added the the following patch to configure.tgt everything worked.  Thanks for your help.

I will now be working on submitting the patches (for this and the re-submit from before).

[ssmith@az75-linuxbox gdb]$ diff -c -w -b -B configure.tgt.orig configure.tgt
*** configure.tgt.orig  Tue Apr 17 14:20:48 2001
--- configure.tgt       Mon Jul 16 14:00:00 2001
***************
*** 122,127 ****
--- 122,128 ----
                configdirs="${configdirs} nlm" ;;
  i[3456]86-*-osf1mk*)  gdb_target=i386mk ;;
  i[3456]86-*-cygwin*)  gdb_target=cygwin  ;;
+ i[3456]86-*-pe*)      gdb_target=embed   ;;
  i[3456]86-*-vxworks*) gdb_target=vxworks ;;

  i960-*-bout*)         gdb_target=vxworks960 ;;

Kevin Buettner wrote:

> On Jul 16, 11:49am, Stephen Smith wrote:
> For your purposes, I think it'd be better to just use ``gdb_target=embed''.
> You'll avoid the shared library nightmares that way.  If you find that
> you need some sort of shared library support, you'll have to implement
> it separately.  (This'll likely mean creating a new *.mt file, a new
> tm-*.h file, and a new solib-*.c file which'll have the shared library
> support that you need.)
>
> Kevin


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