2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 2002 2003 2004 <2005> 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: R3.14.8 makeBaseApp.pl - File::Find problem on cygwin |
From: | Andrew Johnson <[email protected]> |
To: | Ralph Lange <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 29 Nov 2005 17:47:42 -0600 |
Ralph Lange wrote:
so - as makeBaseApp's use of find() follows exactly the third form mentioned in the synopsis - what you're saying is: On cygwin File::Find does not work as documented.
Janet looked at this, and discovered that the find() only works if we give it a starting path in the form d:\path\to\dir whereas makeBaseApp.pl was giving it /cygdrive/d/path/to/dir -- there's probably something inside cygwin that makes the /cygdrive/ path a link that isn't followed, or something equally wierd.
We've added another function LocalPath() which does the reverse conversion that UnixPath() does, and the resulting makeBaseApp.pl now works properly on Windows. However there's a parallel problem with the definition of TOP in the generated iocBoot/iocXxx/envPaths file when built on the Borland target (the borland stuff is more picky when it comes to paths), so I'm looking at installing a similar path mangling function into convertRelease.pl which we'll test tomorrow.
To quote a comment in makeBaseApp.pl: Bl**dy Windows stupidity... - Andrew -- * * Matt Santos / / Leo McGarry * * For a Brighter America * *