Adding libraries to an executable
Anton Alexeev
alexanto at gmx.de
Thu Sep 12 09:25:44 PDT 2013
On Thursday, 12 September 2013 at 11:30:05 UTC, Jacob Carlborg
wrote:
> On 2013-09-12 12:14, Anton Alexeev wrote:
>
>> I've installed libcurl4-openssl-dev 7.29.0-1ubuntu3.1 before I
>> asked for
>> help here. Else I can't even compile with that command: dmd
>> -L-lphobos2
>> -L-lcurl test.d
>
> How does your dmd.conf file look like?
;
; dmd.conf file for dmd
;
; dmd will look for dmd.conf in the following sequence of
directories:
; - current working directory
; - directory specified by the HOME environment variable
; - directory dmd resides in
; - /etc directory
;
; Names enclosed by %% are searched for in the existing
environment and inserted
;
; The special name %@P% is replaced with the path to this file
;
[Environment]
DFLAGS=-I/usr/include/dmd/phobos
-I/usr/include/dmd/druntime/import -L-L/usr/lib/i386-linux-gnu
-L-L/usr/lib/x86_64-linux-gnu -L--no-warn-search-mismatch
-L--export-dynamic
More information about the Digitalmars-d-learn
mailing list