[Mingw-users] Time for a MinGW-GDB Upgrade?

Zurück zum Archiv-Index
Keith Marshall keith****@users*****
Wed Jul 22 06:02:35 JST 2020


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200721/727027ae/attachment.sig>


More information about the MinGW-Users mailing list
Zurück zum Archiv-Index