This is the mail archive of the cygwin@cygwin.com 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: Problem with a cygwin App - Broken on a pristine system until I install cygwin, cygwin1.dll doesn't seem to be enough


> From: Cliff Hones
> Sent: Saturday, October 25, 2003 12:08 PM

> Have you considered the registry?  Installing Cygwin updates the
> registry - it's where the mount points are recorded.  If your app
> is using a POSIX-style path anywhere (eg /tmp/...) this would not
> be found, and if your app is dependent on the text/binary mount
> switches it would behave differently.
> 
> A quick check would be to temporarily rename your Cygnus Solutions
> registry keys (in HKLM/Software and HKCU/Software), or else use
> mount to experiment.

i.e.
$ mount -m >mounts.bat
# on the dev. machine

# Assuming mount.exe and mounts.bat from cygwin in PATH
C:\> mounts.bat 
# on the user machine

May be a good idea to
- minimize mounts.bat
- NOT use "-s" mount flag.
  (-s == for all users, privilege problems unless running as admin)
- adjust mounts.bat for drive letters on the user machine.
  (hmm... is there a "sed" for MSDOS? Installation problem.)

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf("Timezone: %s\n", (DST)?"UTC+02":"UTC+01"); --
--END OF MESSAGE--

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


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