LIB flag on Windows DMD (nagging)
Walter Bright
newshound1 at digitalmars.com
Tue Mar 30 11:28:51 PDT 2010
Bane wrote:
> Or just to edit line in original sc.ini in dmd folder from
>
> LIB="%@P%\..\lib";\dm\lib
>
> to
>
> LIB="%@P%\..\lib";\dm\lib;%LIB%
>
> it seems that adding %LIB% at the end apends existing LIB env var, so paths are preserved.
The reason this is not the default, and why sc.ini overrides the environment, is
because changing the environment for each compiler is tedious and error prone.
dmd is designed to default to be independent of the environment for that reason.
More information about the Digitalmars-d
mailing list