Bug#680468: netbeans: Please support building with mingw-w64 instead of mingw32

Stephen Kitt steve at sk2.org
Fri Jul 6 05:10:59 UTC 2012


Package: netbeans
Version: 7.0.1+dfsg1-5
Severity: wishlist
Tags: patch

Dear Maintainer,

We're working on moving from mingw32 to mingw-w64 (see #648306). I
noticed recent versions of netbeans build-depend on mingw32; the
attached patch allows building with mingw-w64 instead. The changes
compared to mingw32 are three-fold:
* use i686-w64-mingw32 rather than i586-mingw32msvc;
* drop the "-mno-cygwin" flag which is no longer recognised;
* add a couple of missing "#include <stdio.h>" statements.

It would also be possible to drop the "-m32" and "-fPIC" flags. In
addition, Win64 binaries could be built using g++-mingw-w64-x86-64 but
I haven't looked into that for netbeans.

mingw32 will still be in wheezy so there's no particular hurry.

Regards,

Stephen


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netbeans-mingw-w64.patch
Type: text/x-diff
Size: 18218 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120706/ce00523a/attachment.patch>


More information about the pkg-java-maintainers mailing list