<div class="gmail_quote">On 20 March 2012 07:40, Andrew Wiley <span dir="ltr"><<a href="mailto:wiley.andrew.j@gmail.com">wiley.andrew.j@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Tue, Mar 20, 2012 at 12:34 AM, Kapps <<a href="mailto:opantm2%2Bspam@gmail.com">opantm2+spam@gmail.com</a>> wrote:<br>
> On Monday, 19 March 2012 at 10:57:13 UTC, Manu wrote:<br>
>><br>
>> On 19 March 2012 10:59, Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote:<br>
>><br>
>>> On 17 March 2012 21:37, Andrej Mitrovic<br>
>>> <<a href="mailto:andrej.mitrovich@gmail.com">andrej.mitrovich@gmail.com</a>>wrote:<br>
>>><br>
>>>> On 3/17/12, Manu <<a href="mailto:turkeyman@gmail.com">turkeyman@gmail.com</a>> wrote:<br>
>>>> > Did find that one, but now missing libppl_c-4.dll<br>
>>>> > This is a bit silly. A binary toolchain needs to have these > in the<br>
>>>> archive.<br>
>>>> > No point if you can't run it.<br>
>>>><br>
>>>> I think I've had the same issues before because I've installed TDM x86<br>
>>>> instead of the TDM x64 (labeled "experimental" in setup) . Could that<br>
>>>> be the issue?<br>
>>>><br>
>>>> The GDC I've used is:<br>
>>>> gcc-4.6.1-tdm64-1-gdc-232cd89d90b4-20120128.7z<br>
>>>><br>
>>>> The TDM setup:<br>
>>>> tdm64-gcc-4.6.1.exe<br>
>>>><br>
>>>> libgmp-3.dll is then installed to<br>
>>>> MinGW64\libexec\gcc\x86_64-w64-mingw32\4.6.1\ (and so is<br>
>>>> libppl_c-4.dll)<br>
>>>><br>
>>><br>
>>> Okay, well I got that package, and it does seem to have the full list of<br>
>>> dll's I need (there were about 5 more), but gdc still won't work:<br>
>>> > gdc main.d<br>
>>> gdc: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not<br>
>>> found compilation terminated.<br>
>>><br>
>>> that dll was in there too, and it is certainly present in my path, but it<br>
>>> continues to complain... :/<br>
>>><br>
>><br>
>> Okay, I managed to make it work by just transplanting the whole gdc<br>
>> distribution directly into a functioning MinGW64 installation. There must<br>
>> have been weird relative pathing built into the tools, so it didn't find<br>
>> the DLL's even though they were present in the path.<br>
>><br>
>> I really think the next binary GDC release should carefully have all those<br>
>> DLL's included, so it actually like, works.<br>
>> I'd say the point of a binary release is for windows users who don't want<br>
>> to know anything about linux or gcc toolchain issues can just use it and<br>
>> get to work :)<br>
><br>
><br>
> Agreed. I've tried a couple of times to get GDC working, but every time I've<br>
> given up simply because hunting down numerous libraries (which sometimes<br>
> error themselves or need additional libraries themselves) is really not<br>
> reasonable just to try a new compiler. If GDC was as simple to use as DMD,<br>
> there would be many more Windows users.<br>
<br>
</div></div>The instructions say quite clearly that there are two steps:<br>
1. Install the 64 bit distribution of TDM GCC<br>
2. Unzip the GDC release into the TDM GCC installation you just made<br>
<br>
If you do that, there are no missing libraries. Everything just works.<br>
If you're having to hunt for libraries, you've done something wrong somewhere.<br>
</blockquote></div><br><div>Did do something to that effect in the end. It's still rather un-windows-ey. Why not just put the few bits that it complains about in the distro?</div><div>Apparently we both tripped at the same mistake.</div>