Linking to cygwin1.dll
Manoj Joseph
manoj.joseph@delphix.com
Wed Jan 21 20:43:00 GMT 2015
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
More information about the Cygwin
mailing list