This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linking to cygwin1.dll


Never mind. My bad. Looks like the directory from which the application
loaded is indeed a location where Windows looks.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx#standard_search_order_for_desktop_applications

Apologies for the noise!

Regards,
Manoj

On 1/21/15 11:46 AM, Manoj Joseph wrote:
> Hi,
>
> As I understand, Windows looks for DLLs in $PATH. Is there any way to
> specify, perhaps at compile time, that cygwin1.DLL is to be located in
> the same directory as the binary?
>
> Doing this would mean I don't have to modify environment variables or
> copy cygwin1.DLL to one of the system directories.
>
> Regards,
> Manoj

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]