MingW compatibility

Nick Sabalausky a at a.a
Fri Jun 11 11:57:31 PDT 2010


"Robert M. Münch" <robert.muench at robertmuench.de> wrote in message 
news:huu08d$1jm6$1 at digitalmars.com...
> On 2010-06-11 14:27:27 +0200, Alex Makhotin said:
>
>> Robert M. Münch wrote:
>>> On 2010-06-11 13:18:34 +0200, Alex Makhotin said:
>>>
>>>> Yes, libraries produced with mingw32 GCC link well with binaries 
>>>> produced with DMD and I didn't notice runtime issues.
>>>
>>> Perfect! I start to like D more and more...
>>>
>>
>> Of course I'm talking about dynamic linking. DLL should be made with the 
>> mingw32 GCC, import library produced with implib tool which is then the 
>> argument for the linker. Static linking didn't work for me.
>
> :-( And I talked about static linking...
>
> Getting linux based source-code compiled with DMC is quite hard. I use 
> MSYS and MINGW to compile stuff on windows... not sure if using DMC 
> instead of GCC will help.
>
> Hmm... that makes some things much more complicate.
>

In my experience, MSYS/Mingw are a PITA in the first place. After numerous 
times mucking around with both it and apps that require it on windows, I've 
become convinced that an app that requires Mingw on windows is no more 
cross-platform than an app that requires wine on Linux. But that's me. YMMV, 
of course.





More information about the Digitalmars-d mailing list