What is a good strategy for finding undefined symbols...

WhatMeWorry kc_heaser at yahoo.com
Sat May 12 10:22:14 PDT 2012


> 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:.




More information about the Digitalmars-d-learn mailing list