How to link in a lib on cmd line?
Jonathan M Davis
jmdavisprog at gmail.com
Tue Sep 7 18:37:46 PDT 2010
On Tuesday 07 September 2010 18:23:59 Nick Sabalausky wrote:
> I've tried all sorts of stuff and looked all over, but I'm completely at a
> loss. How do I link in a static lib on the command line?
Don't you just include it as one of the arguments, like all of the .d files? I
don't know. I haven't had a need to link in static libs before, and I usually do
the linking step myself with gcc so that I can get a static binary (since -L-
static doesn't currently work with dmd).
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list