On 5/30/2013 7:39 AM, Rainer Schuetze wrote:

I don't want to spoil the party, but it seems that building with -lib doesn't split a module into separate modules for each function anymore (for win32, not win64). According to the list file generated by lib.exe, every module in phobos is a single object file.

Was it a deliberate change? It exposes bug 9044 pretty easily: http://d.puremagic.com/issues/show_bug.cgi?id=9044.

Compile the following:
----------------------------------------
void foo1() { }
void foo2() { }
--------------------------------------
with:

   dmd -c -multiobj foo

and you should see it creating 3 .obj files.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to