DMD32 compiling gtkd out of memory on 32bit Windows 7 machine

dangbinghoo dangbinghoo at gmail.com
Mon Sep 17 03:03:48 UTC 2018


On Friday, 14 September 2018 at 17:34:59 UTC, Mike Wey wrote:
>
> You will also have to pass `--build=plain` to dub because of a 
> optlink bug.
>
> https://issues.dlang.org/show_bug.cgi?id=15418

thanks Mike,

I tried using `--build-plain`, optlink didn't report out of 
memory, but it hangs !

```
Compiling source\utils.d...
Linking...
OPTLINK (R) for Win32  Release 8.00.17
Copyright (C) Digital Mars 1989-2013  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Warning 9: Unknown Option : LLIB
OPTLINK : Warning 9: Unknown Option : WIN32
C:\Users\Administrator.USER-20180912OL\AppData\Local\dub\packages\gtk-d-3.8.3\gtk-d\.dub\build\library-plain-windows-x86-dmd_2082-BF70B0A83AEE3E77C0F6B230586D03B2\gtkd-3.lib
  Warning 178: .LIB pagesize exceeds 512
```

my building command is ` dub build --compiler=dmd -a=x86  
-c=windows --build-mode=singleFile --build=plain --force`

Thanks !


More information about the Digitalmars-d-learn mailing list