[llvm-commits] Patch: improve protability of llvm-config

Anton Korobeynikov anton at korobeynikov.info
Wed Nov 5 16:30:36 PST 2008


> So, your initial patch is fine assuming all the magic paths like
> "/volume" have a real folder associated with them in the msys root.
This seems to be quite 'unnatural' requirement. I think the problem
can be even worse if there is some magic prefix for volumes, etc. of
form "/driveprefix/driveletter".

Another question: how are the paths like "c:/dir1/dir2/dir3" are
handled? Do they left as-is, or transformed into "/c/dir1/dir2/dir3" ?
(I don't have mingw box currently and cannot verify by myself). If
they are left as-is, then resulted binaries /scripts, even having
paths hardcoded in them, can still be run without msys shell (this is
how the things work currently).

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list