Looks like you are trying to link. Libraries are not linked they are just compiled. Then object files are put together into library file. Link produces *executable* (yeah I recall that was hard to get at first).


Wait, isn't that the whole point of libraries, that they are pre-compiled? Linking just resolves their addresses?

Anyway, I set the LIB environment variable to point to where my druntime and phobos libraries (with absolute paths even) like so:

set LIB=C:\D\dmd2\src\druntime\lib;C:\D\dmd2\src\phobos

but when I redo the link step,I am still seening the undefined symbols like in my original posting.

I love programming, but I hate building. Is this what Andrei means by code for "being" as opposed to code for "doing:.


Reply via email to