[dmd-beta] D1 & D2 alpha's for Win64

Mike Wey mike at mikewey.eu
Mon Nov 12 13:56:50 PST 2012


On 14.10.2012 21:55, Walter Bright wrote:
> http://ftp.digitalmars.com/dmd1beta.zip
> http://ftp.digitalmars.com/dmd2beta.zip
>
> Be the first kid on your block to build a dmd Win64 app!
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta


How would you build a static library without using dmd's -lib option, 
using:

lib.exe the_objects /OUT:GtkD.lib

Results in a library but i'm not able to build a working executable 
using it. (I might be missing something obvious here as i don't use 
windows that often.)

I'm not using dmd's -lib option because with GtkD this results in an 
out of memory error from dmd.

I've also tried to build parts of gtkD into separate libraries using 
the -lib option, but this results in errors about multiply definde 
symbol errors like this one:

gdk.lib(ObjectG_45_1165.obj) : error LNK2005: 
_D20gobject\ObjectG.d.6912__ModuleInfoZ already defined in 
pango.lib(ObjectG_45_148f.obj)

But i haven't been able to reproduce this with a small test case.


More information about the dmd-beta mailing list