Re: Time for a MinGW-GDB Upgrade?

Keith Marshall <[email protected]> Tue, 21 Jul 2020 22:02:35 +0100
Newsgroups gmane.comp.gnu.mingw.user
Organization MinGW.org Project
Message-ID <[email protected]>
On 19/07/2020 03:30, Eli Zaretskii wrote:
>> What I might consider is to provide a python-independent build, for
>> those who want a free-standing MinGW build, and an additional (optional
>> alternative) python-dependent build, for those who may prefer it, and
>> thus accept the onus of installing python for themselves.
> 
> I do the latter in my ports.  I think offering 2 builds as you say is
> a good solution.

It might be, if I could actually get it to build :-(

I downloaded the Windows version of Python-2.7.18, and installed it into
my wine-prefix.  Getting the GDB build to actually acknowledge that it
was there was tricky; I needed:

  #! /bin/sh
  ln -fs "`cd && pwd`/.wine/drive_c" C:
  C:/Python27/python.exe "$@" | sed 's?\r$??'

as an executable "win-python" script, in my $PATH, (with GNU sed's
interpretation of '\r'), and:

  ../src/gdb-9.2/configure --with-python=win-python ...

to get past the configuration check for python, but make fails:

  CPPFLAGS=-I/mingw/include make
  ...
    CXXLD  gdb.exe
  make[3]: Entering directory '/.../gdb-9.2-mingw32-cross-native/gdb'
  python//.deps/py-arch.Po:1: *** multiple target patterns.  Stop.
  make[3]: Leaving directory '/.../gdb-9.2-mingw32-cross-native/gdb'
  make[2]: *** [Makefile:1651: all] Error 2
  make[2]: Leaving directory '/.../gdb-9.2-mingw32-cross-native/gdb'
  make[1]: *** [Makefile:9571: all-gdb] Error 2
  make[1]: Leaving directory '/.../gdb-9.2-mingw32-cross-native'
  make: *** [Makefile:859: all] Error 2

What does this mean?  How do I fix it?  The primary error message does
not convey much, by way of explanation; I'm normally quite tenacious,
but this sort of uninformative diagnostic is likely to persuade me to
abandon this exercise, right now, and commit to only a --without-python
MinGW-GDB build.

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

_______________________________________________
MinGW-Users mailing list
[email protected]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.osdn.me/mailman/listinfo/mingw-users
Also: mailto:[email protected]?subject=unsubscribe
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAl8XV+sACgkQwK02xjR+
Wj+lJxAAjcnPxdBPE7sI8dQREbDHMF1a26XuZ8eIk2PBT+F2EcYGWo5dOjPDficN
wRJY+cXLnZIh95g7nCE564B0U4pxh9RtVDEObFdH/5mKkuVKuIKc9EdA2EU/HVyW
1mHx6RIYHgZECoBYnpmylIA+ggL0ApBMkbjuZsHq9ppjzLpT4afg56+0xG3lMNaI
+D4dhn0hLDHjQ6HWtBtjrGS5xfEipfyX7rLuj07MRMLL6PWeoh+EQB5EmoSJHdoT
C2gpr30bI7t6c7iuRdP//9Re0tCCgmhzR3n2X9fS+0dNDtN2U783paomd1Z+zswB
ljgmks7niuIRF5DjwfHgh1EtGOflUCXoZ2RXedC+5df6zwJNC7+lmeIULQ4H0c4S
xoiOPI4/NXgd4AhEgNsjM+Joztl63frKaCHDUIyAT+PzGsKzGXyzqmrJBvNeMwwq
UWSJjAk35SsLjMpT/qFkDWaUcZId6K0oVEMa5VmHaDdxNsvykgenjIwdgn1m7u8z
/kff6dshWMmrUpBN2pgNZwTv/NUpCFPI/C6EzRbzXwXGdTLJLagPf5nusXZQPrxg
zRvhGn4Z55GbZB47hcqXH6ljan2jBmzgFm5P4pGZqlJV00KqWPBZduUobV0gB5Iw
Uo004xRl5caI+V7PJy5PijzWZZXM7XE4mpxrG8B0/vXqRokkXCI=
=9fbV
-----END PGP SIGNATURE-----