www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/21/16:57:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: Hugh Myers <hsmyers AT gmail DOT com>
Date: Thu, 21 Oct 2010 20:56:45 +0000
Message-ID: <AANLkTinmUYznh6O0U6c=fO2oufvtF_0Jc+Q1sLyu7+Po@mail.gmail.com>
Subject: resolving directories
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

In a recent comedy of errors, I moved an executable from one machine
to another. I was at least bright enough to move its associated .dll
and even the .a for good measure. Not to surprisingly this did not
result in a working program. After some thought I determined that the
difference from one cygwin environment to another was the problem.
Given a two year difference this seemed like the culprit.
Unfortunately now is not a good time to upgrade the target machine, so
I cheated and copied the first machines cygwin1.dll (isolated in the
same directory along with the executable) to the second machine---
happiness ensued! Sort of. My executable while it worked, was unable
to resolve a simple path like /usr/data/files_that_it_needs. Rather
than giving in to despair, I idly thought to try
/cygdrive/c/cygwin/usr/data/files_that_it_needs--- worked like a
charm.

So with that as background would I be correct in that one of the
significant differences from version 1.5.25 to version 1.7.7 might lie
in directory resolution? If so could someone explain in terms an idiot
like myself might understand? More to the point in terms my boss might
understand?

thanks
--hsm

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019