Rainer Schuetze <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #1 from Rainer Schuetze <> 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:
------- You are receiving this mail because: -------

Reply via email to