Thread overview | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
September 06, 2014 Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Attachments:
| OK I installed LDC pre-built on MinGW for Windows on Windows and then Installed MinGW for Windows but when I run ldc2 it tells me libgcc_s_dw2-1.dll is missing.
Is this problem soluble by any means other than destruction of Windows?
--
Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
|
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On Saturday, 6 September 2014 at 11:13:20 UTC, Russel Winder via Digitalmars-d-learn wrote:
> OK I installed LDC pre-built on MinGW for Windows on Windows and then
> Installed MinGW for Windows but when I run ldc2 it tells me
> libgcc_s_dw2-1.dll is missing.
>
> Is this problem soluble by any means other than destruction of Windows?
You need to set PATH in environment variables to the directory where shared libaries of MinGW are present...
|
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Danyal Zia Attachments:
| On Sat, 2014-09-06 at 11:26 +0000, Danyal Zia via Digitalmars-d-learn wrote: > On Saturday, 6 September 2014 at 11:13:20 UTC, Russel Winder via Digitalmars-d-learn wrote: > > OK I installed LDC pre-built on MinGW for Windows on Windows > > and then > > Installed MinGW for Windows but when I run ldc2 it tells me > > libgcc_s_dw2-1.dll is missing. > > > > Is this problem soluble by any means other than destruction of Windows? > > You need to set PATH in environment variables to the directory where shared libaries of MinGW are present... Hummm… I thought I had since all the DLLs are in the bin directory and you need that in your PATH. Ah, I installed MinGW that has libgcc_s_seh-1.dll not libgcc_s_dw2-1.dll. Of course having a gcc and g++ in my path ruins all my SCons experiments since the whole point was not to have them in the path, just ldc2. Ho hum. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | SEH was patented, so llvm doesn't support it. |
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin Attachments:
| On Sat, 2014-09-06 at 15:09 +0000, Kagamin via Digitalmars-d-learn wrote: > SEH was patented, so llvm doesn't support it. I installed the other MinGW option and it provides libgcc_s_sjlj-1.dll which is not helping me actually run ldc2 on Windows :-( -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | Looks like mingw supports 3 types of exception handling. LDC usually tightly coupled with mingw version, you shouldn't try it blindly, but follow installation instructions instead. |
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | > SEH was patented, so llvm doesn't support it.
That has changed.
|
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | On 9/6/2014 11:09 AM, Kagamin wrote:
> SEH was patented, so llvm doesn't support it.
Seriously, if they're worried about infringing a software patent, they have no business writing any code at all. Avoiding things covered by patents *and* writing code that actually does anything useful is NOT REALISTICALLY POSSIBLE. The SEH patent is just a red herring here.
|
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Russel Winder | On Saturday, 6 September 2014 at 16:11:55 UTC, Russel Winder via Digitalmars-d-learn wrote: > I installed the other MinGW option and it provides libgcc_s_sjlj-1.dll > which is not helping me actually run ldc2 on Windows :-( It is mentioned both the in README coming with the Windows packages and the on wiki [1] that you need a Dwarf 2 EH package (-dw2) of MinGW-w64 for LDC to work. How can we make this more clear? Cheers, David [1] http://wiki.dlang.org/Building_LDC_on_MinGW_x86 |
September 06, 2014 Re: Installing LDC on Windows | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | On Saturday, 6 September 2014 at 17:51:16 UTC, Trass3r wrote:
>> SEH was patented, so llvm doesn't support it.
>
> That has changed.
Has it? SEH on Win64 is something entirely different from the original (x86) SEH design, and not covered by said patent.
David
|
Copyright © 1999-2021 by the D Language Foundation