Thank you for this very good report and for trying. I will make sure that I take this in consideration for the next upload.
Actually, if you are interested in maintaining the package, I would be pleased to add you to the uploaders. Romain 2011/4/29 Török Edwin <edwinto...@gmail.com>: > Package: mingw32-ocaml > Version: 3.12.0+debian2 > Severity: wishlist > > --- Please enter the report below this line. --- > The current mingw32-ocaml uses the old gcc-mingw32 package. > In unstable we have gcc-mingw-w64 lately which can build both win32 and > win64 binaries, and is based on a more recent GCC (4.5.2). > > It would be good if at least the 32-bit part of mingw32-ocaml would use > the new mingw from unstable. If it works it'd be awesome if it could > also use the 64-bit part of mingw to cross-compile to win64. > > The compilers are called: > i686-w64-mingw32-gcc > x86_64-w64-mingw32-gcc > > I did a quick test with the Debian package: > edit debian/control, and replace gcc-mingw32 with mingw-w64-dev in > Build-Depends, and replace both gcc-mingw32 and mingw32-runtime with > gcc-mingw-w64 (which depends on binutils-w64) > > $ find debian/ -type f -exec sed -ie > 's/i586-mingw32msvc/i686-w64-mingw32/' {} \; > $ dpkg-buildpackage -us -uc > > The package built successfully (on amd64, it probably would on x86-32 > too, didn't try), and a quick test shows that a hello world builds with > the brand new i686-w64-mingw32-ocamlopt. > > --- System information. --- > Architecture: amd64 > Kernel: Linux 2.6.39-rc4-phenom > > Debian Release: wheezy/sid > 500 unstable ftp.ro.debian.org > 500 unstable ftp.lug.ro > 500 testing security.debian.org > 500 testing ftp.ro.debian.org > 500 stable ftp.ro.debian.org > 1 experimental ftp.ro.debian.org > > --- Package information. --- > Depends (Version) | Installed > ===============================-+-============ > lib32ncurses5 (>= 5.5-5~) | 5.9-1 > libc6 (>= 2.7) | 2.13-0exp5 > libc6-i386 (>= 2.7) | 2.13-0exp5 > ocaml-nox | 3.12.0-5 > ocaml-findlib | 1.2.6+debian-1+b1 > gcc-mingw32 | > mingw32-runtime | 3.13-1 > > > Package's Recommends field is empty. > > Package's Suggests field is empty. > > > > > > > -- > To UNSUBSCRIBE, email to debian-ocaml-maint-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/4dbaae49.1090...@gmail.com > > -- To UNSUBSCRIBE, email to debian-ocaml-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/banlktinbwrtyzwhc+rp0x4cvdhg9m91...@mail.gmail.com