http://d.puremagic.com/issues/show_bug.cgi?id=6605


Rainer Schuetze <r.sagita...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagita...@gmx.de


--- Comment #1 from Rainer Schuetze <r.sagita...@gmx.de> 2011-09-05 10:40:41 
PDT ---
Actually, you can do that with the rather obscure notation

dmd main.d -I..\..\src mylib.lib -L..\..\

The important part is the trailing backslash for the path that tells optlink
that this is a search path.

Unfortunately, this does not work if you also pass resource or definition files
to the link process, because the link options are always passed at the end of
the optlink command line. The search path then ends up in the wrong section of
the command line.

So, I'd also like an option to pass the library search path to the linker
through dmd in a sensible way. 

BTW: The way to work with library paths in Visual D is to add some environment
variable in the LIB statement of dmds global sc.ini file and use this to extend
the library search path.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to