[ITP] mingw-w64

JonY jon_y@users.sourceforge.net
Tue Jun 29 03:45:00 GMT 2010


On 6/28/2010 15:16, JonY wrote:
> On 6/28/2010 14:53, Charles Wilson wrote:
>> On 6/27/2010 8:32 PM, JonY wrote:
>>> On 6/26/2010 19:59, JonY wrote:
>>>> Hello,
>>>> mingw-w64 (mingw-w64.sourceforge.net) is a toolchain to target 64bit
>>>> windows. It is setup as a cygwin hosted cross compiler. Currently it is
>>>> split into 4 packages: headers, crt, binutils and gcc. The latter 2 is
>>>> from FSF.
>>
>> Does this version support multilib? that is, it's a cygwin hosted
>> compiler targeting only -m64, or also -m32? If the latter, then...well,
>> it's just good to know.
>>
>
> Currently, its not setup to be multilib, but it is possible if you want.
> I fixed up the gcc install process to put target dlls in toolexeclibdir,
> libgcc_s*.dll still clash though, if installed without manual intervention.
>
>>>> GCC 4.6 (trunk) was chosen to avoid the ABI change from 4.5.0 biting
>>>> users. LTO is also enabled.
>>>>
>>>> I would admit packaging could be a bit better, I'm open to suggestions
>>>> for improvement.
>>>>
>>>> mingw-w64 headers:
>>>> <https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-headers/w64-headers-20100625-1.tar.bz2>
>>>>
>>
>> I know headers are, by definition, source, but I'm not sure if
>> setup.exe's tiny little brain can grok a package like this, without a
>> corresponding source. Should its setup.hint have an
>> "external-source: ???"
>> record?
>>
>
> OK, I'll try to do that.
>
>> I'm pretty sure all of the w64-gcc-??? language binary packages should
>> have one, specifying w64-gcc as their source provider. And w64-gcc-rt
>> is probably misnamed. If it contains the DLLs (like libgcc*.dll or
>> whatever it is named, plus the corresponding DLLs for g++& fortran),
>> they should be split up into separate "libfoo" packages. This makes
>> representing dependency information for apps compiled using this
>> compiler more granular. E.g.
>>
>> Consider "regular" cygwin gcc(4)'s runtime library packages:
>> libgcc1
>> libstdc++6
>> libgfortran3
>>
>> If you *really* want to prefix everything with w64 to indicate which
>> "compiler family" they belong to, then something like
>> w64-mingw64-libgcc1
>> w64-mingw64-libstdc++6
>> w64-mingw64-libgfortran3
>> or similar would be good. If the compiler is multilib (e.g. supports
>> also -m32), then the 32bit runtime libs should have their OWN separate
>> packages, perhaps
>> w64-mingw32-libgcc1
>> w64-mingw32-libstdc++6
>> w64-mingw32-libgfortran3
>>
>>
>
> Ok, I'll split the DLLs.

Hi,

now the packages are all prefixed with w64-mingw64 for 64bit and 
w32-mingw64 for 32bit. Toolchain is now multilib capable, defaulting to 
64bit. Obj-c and obj-c++ can be done too, but I guess I should at least 
get the packaging right first.

Sourceforge doesn't have an FTP, it makes things a bit hard, I'll try to 
get an FTP server soon. Basically, its everything under: 
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/>

The pthreads import library and headers for i686-w64-mingw64 isn't very 
useful right now without the actual toolchain up. The 32bit import lib 
devel package for the 64bit is mirrored as w32*-devel64, likewise for 
64bit import lib for the planned 32bit toolchain as w64*-devel32.

As with import libs, the pthreads headers32 is for the i686-w64-mingw32 
toolchain while headers64 is for the x86_64-w64-mingw32 toolchain. The 2 
are identical except for the installation path.

w64-mingw64-binutils:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-binutils/w64-mingw64-binutils-2.20.51-1.tar.bz2/download>
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-binutils/w64-mingw64-binutils-2.20.51-1-src.tar.bz2/download>

category: Devel
requires: libgcc1 zlib0
sdesc: "Bintils for Win64 target."
ldesc: "Cross bintils for Win64 and Win32 target.(Mulilib, 64bit default)"


w64-mingw64-headers:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-headers/w64-mingw64-headers-20100628-1.tar.bz2/download>
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-headers/w64-mingw64-headers-20100628-1-src.tar.bz2/download>

category: Devel
requires:
sdesc: "Headers for Win64 target."
ldesc: "Mingw-w64 headers for Win64 target development."

(Typo in setup.hint, headers should work for both Win32 and Win64)

w64-mingw64-crt:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-crt/w64-mingw64-crt-20100628-1.tar.bz2/download>
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-crt/w64-mingw64-crt-20100628-1-src.tar.bz2/download>

category: Devel
requires:
sdesc: "Libraries for Win64 target."
ldesc: "Mingw-w64 libraries for Win64 and Win32 target development. 
(Mulilib, 64bit default)"

GCC:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-4.6.20100619-1-src.tar.bz2/download>
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: libgcc1 libgmp3 libgmpxx4 libppl libmpc1 libstdc++6 libcloog0 
w64-mingw64-headers w64-mingw64-crt w64-mingw64-binutils 
w64-mingw64-gcc4-libgcc1 w64-mingw64-gcc4-libssp0-devel 
w64-mingw64-gcc4-libgomp1-devel
sdesc: "GCC for Win64 and Win32 target."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development.(Multilib, 
Win64 default)"

w64-mingw64-gcc4-g++:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-g%2B%2B/w64-mingw64-gcc4-g%2B%2B-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-gcc4 w64-mingw64-libstdc++6-devel
external-source: w64-mingw64-gcc4
sdesc: "GCC for Win64 and Win32 target (C++)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (C++, 
Multilib, Win64 default)."

w64-mingw64-gcc4-gfortran:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libgcc1/w64-mingw64-gcc4-libgcc1-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-gcc4 w64-mingw64-libgfortran3-devel
external-source: w64-mingw64-gcc4
sdesc: "GCC for Win64 and Win32 target (Fotran)."
ldesc: "Mingw-w64 GCC for Win64 target development (Fortran, Multilib, 
Win64 default)."

w64-mingw64-gcc4-libgfortran3:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libgfortran3/w64-mingw64-gcc4-libgfortran3-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-gcc4-libgcc1
external-source: w64-mingw64-gcc4
sdesc: "libgfortran3 DLLs for Win64 and Win32 (Runtime)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w64-mingw64-gcc4-libgfortran3-devel:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libgfortran3-devel/w64-mingw64-gcc4-libgfortran3-devel-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-gcc4 w64-mingw64-gcc4-libgfortran3
external-source: w64-mingw64-gcc4
sdesc: "libgfortran3 DLLs for Win64 and Win32 (Development)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w64-mingw64-gcc4-libgomp1:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libgomp1/w64-mingw64-gcc4-libgomp1-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-pthreads w64-mingw64-gcc4-libgcc1
external-source: w64-mingw64-gcc4
sdesc: "libgomp DLLs for Win64 and Win32 (Runtime)."

w64-mingw64-gcc4-libgomp1-devel:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libgomp1-devel/w64-mingw64-gcc4-libgomp1-devel-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-pthreads-devel64 w32-mingw64-pthreads-devel64 
w64-mingw64-gcc4 w64-mingw64-gcc4-libgomp1
external-source: w64-mingw64-gcc4
sdesc: "libgomp DLLs for Win64 and Win32 (Development)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w64-mingw64-gcc4-libssp0:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libssp0/w64-mingw64-gcc4-libssp0-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-gcc4-libgcc1
external-source: w64-mingw64-gcc4
sdesc: "libssp0 DLLs for Win64 and Win32 (Runtime)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w64-mingw64-gcc4-libssp0-devel:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libssp0-devel/w64-mingw64-gcc4-libssp0-devel-4.6.20100619-1.tar.bz2/download>

ategory: Devel
requires: w64-mingw64-gcc4-libgcc1 w64-mingw64-gcc4 w64-mingw64-gcc4-libssp0
external-source: w64-mingw64-gcc4
sdesc: "libssp0 DLLs for Win64 and Win32 (Development)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w64-mingw64-gcc4-libstdc++6:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libstdc%2B%2B6/w64-mingw64-gcc4-libstdc%2B%2B6-4.6.20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-gcc4-libgcc1
external-source: w64-mingw64-gcc4
sdesc: "libstdc++6 DLLs for Win64 and Win32 (Runtime)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w64-mingw64-gcc4-libstdc++6-devel:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-gcc4/w64-mingw64-gcc4-libstdc%2B%2B6-devel/w64-mingw64-gcc4-libstdc%2B%2B6-devel-4.6.20100619-1.tar.bz2/download>

ategory: Devel
requires: w64-mingw64-gcc4 w64-mingw64-gcc4-libgomp1 
w64-mingw64-gcc4-g++ w64-mingw64-gcc4-libstdc++6
external-source: w64-mingw64-gcc4
sdesc: "libstdc++6 DLLs for Win64 and Win32 (Development)."
ldesc: "Mingw-w64 GCC for Win64 and Win32 target development (Multilib)."

w32-mingw64-pthreads-headers32:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32-mingw64-pthreads/w32-mingw64-pthreads-headers32/w32-mingw64-pthreads-headers32-20100619-1.tar.bz2/download>

category: Devel
requires: w32-mingw64-pthreads-devel32
external-source: w64-mingw64-pthreads
sdesc: "Pthreads DLL for Win32 target."
ldesc: "Pthreads DLL for Win32 target. (Headers for i686-w64-mingw32)"

w32-mingw64-pthreads-devel64:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32-mingw64-pthreads/w32-mingw64-pthreads-devel64/w32-mingw64-pthreads-devel64-20100619-1.tar.bz2/download>

category: Devel
requires: w32-mingw64-pthreads-headers32
external-source: w64-mingw64-pthreads
sdesc: "Pthreads DLL for Win32 target."
ldesc: "Pthreads DLL for Win32 target. (Import libraries for 
x86_64-w64-mingw32)"

w32-mingw64-pthreads-devel32:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32-mingw64-pthreads/w32-mingw64-pthreads-devel32/w32-mingw64-pthreads-devel32-20100619-1.tar.bz2/download>

category: Devel
requires: w32-mingw64-pthreads-headers32
external-source: w32-mingw64-pthreads
sdesc: "Pthreads DLL for Win32 target."
ldesc: "Pthreads DLL for Win32 target. (Import libraries for 
i686-w64-mingw32)"

w32-mingw64-pthreads:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32-mingw64-pthreads/w32-mingw64-pthreads-20100619-1.tar.bz2/download>

category: Devel
requires:
sdesc: "Pthreads DLL for Win32 target."
ldesc: "Pthreads DLL for Win32 target. (Runtime DLLs)"

<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w32-mingw64-pthreads/w32-mingw64-pthreads-20100619-1-src.tar.bz2/download>

w64-mingw64-pthreads-headers64:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-pthreads/w64-mingw64-pthreads-headers64/w64-mingw64-pthreads-headers64-20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-pthreads-devel64
external-source: w64-mingw64-pthreads
sdesc: "Pthreads DLL for Win64 target."
ldesc: "Pthreads DLL for Win64 target. (Headers for x86_64-w64-mingw32)"

w64-mingw64-pthreads-devel64:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-pthreads/w64-mingw64-pthreads-devel64/w64-mingw64-pthreads-devel64-20100619-1.tar.bz2/download>

category: Devel
requires: w64-mingw64-pthreads-headers64
external-source: w64-mingw64-pthreads
sdesc: "Pthreads DLL for Win64 target."
ldesc: "Pthreads DLL for Win64 target. (Import libraries for 
x86_64-w64-mingw32)"

w64-mingw64-pthreads-devel32:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-pthreads/w64-mingw64-pthreads-devel32/w64-mingw64-pthreads-devel32-20100619-1.tar.bz2/download>

category: Devel
requires: w32-mingw64-pthreads-headers32
external-source: w64-mingw64-pthreads
sdesc: "Pthreads DLL for Win64 target."
ldesc: "Pthreads DLL for Win64 target. (Import libraries for 
i686-w64-mingw32)"

w64-mingw64-pthreads:
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-pthreads/w64-mingw64-pthreads-20100619-1-src.tar.bz2/download>
<https://sourceforge.net/projects/mingw-w64/files/Cygwin%20Snapshots/dist/w64-mingw64-pthreads/w64-mingw64-pthreads-20100619-1-src.tar.bz2/download>

category: Devel
requires:
sdesc: "Pthreads DLL for Win64 target."
ldesc: "Pthreads DLL for Win64 target. (Runtime DLLs)"



More information about the Cygwin-apps mailing list