Linking to static libraries

Jacob Carlborg doob at me.com
Thu May 10 07:42:45 PDT 2012


On 2012-05-10 15:21, Minas wrote:

> $ dmd icy.d /usr/lib/Derelict3/DerelictSDL2
>
> This doesn't because dmd thinks that I'm talking about a .d file.

Hmm, that wasn't quite right, try this:

$ dmd icy.d /usr/lib/Derelict3/libDerelictSDL2.a

(Or whatever the full path to the library is)

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list