|
From: Earnie B. <ea...@us...> - 2009-03-02 20:56:12
|
Quoting Lorenzo Bettini <be...@ds...>: > > yes, but how to use a windows path? If pwd -W is not standard? > I don't understand our disconnection. The -W is MSYS specific. If one is using MSYS then pwd -W is available. If one uses Cygwin they use cygpath or something like that. If one uses some other shell, they use whatever else is available. How does this affect your program? I suspect you might want to consider the location of the installed path and use relative paths to walk up the tree to find the path. If you use relative pathing if a program is installed in c:/msys/1.0/usr/local/bin then one should be able to find c:/msys/1.0/user/local/lib by using ../lib instead. This way your program can be installed on /some/path/noone/knows/the/name/to and it still is likely to work. This is what GCC does to find it's lib and include paths. Earnie |