X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 12 Jan 2009 11:18:48 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Questions about missing DLLs and program behvior, and symlinks to DLLs (also, a small setup recommendation) Message-ID: <20090112161848.GB5218@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <496AC6E9 DOT 3090709 AT sylvan-glade DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <496AC6E9.3090709@sylvan-glade.com> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam On Sun, Jan 11, 2009 at 08:28:25PM -0800, rhs DOT cygwin AT sylvan-glade DOT com wrote: >Hello! I haven't been able to find anything about this in the archives. > >I recently decided to replace my old Cygwin installation with a new, >fresh one, so everything should be up-to-date here. [That's my >recommendation: perhaps a way to make it easier to install fresh; it was >necessary to rename both the old Cywin installation and the location of >the downloaded installation packages to keep setup from finding them.] > >The DLL questions are regarding programs compiled within Cygwin: when a >program can't find a DLL, one expects some sort of error message to that >effect, and which would indicate the DLL in question. As my demo below >shows, programs simply exit silently and unceremoniously when that happens. That is fixed in Cygwin 1.7.x. >Second, symlinking to DLLs doesn't enable programs to find them, as is >also shown below. Right. Symlinks are a Cygwin invention. Cygwin doesn't start running until after DLLs are loaded. So, since Windows does not know about Cygwin symlinks there is no way that they can be used to symlink DLLs. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/