#158 Does msys properly parse system path?

closed
MSYS (18)
5
2012-08-27
2012-08-26
No

Sometimes programs add items to the path containing spaces, does this interfere at all with locating binaries that are on the msys path but NOT the windows path?

Discussion

  • Michael Gooch

    Michael Gooch - 2012-08-26

    Just curious.

    Also, configure scripts seem to be having some trouble locating items in /usr/local.

     
  • Michael Gooch

    Michael Gooch - 2012-08-26

    to be clear, the /usr/local paths WERE added to my /etc/profile setup files

     
  • Earnie Boyd

    Earnie Boyd - 2012-08-27

    Some user wrote this wiki article[1], maybe it will help you. As for GCC not finding /usr/local, you must remember that GCC is a native application and looking for /usr/local to it means that the directory must exist at the root of the device of the current working device. For MinGW you must specify -I /usr/local/include for your compiles and -L /usr/local/lib for your libraries during the link phase. We always suggest installing your optional packages to --prefix=/mingw instead of the usual default of /usr/local because it is easier to use that way.

    [1] http://mingw.org/wiki/Posix_path_conversion

     
  • Earnie Boyd

    Earnie Boyd - 2012-08-27
    • assigned_to: nobody --> earnie
    • status: open --> closed
     
  • Michael Gooch

    Michael Gooch - 2012-08-27

    I know that in the normal cmd.exe shell that would be the behavior, but what about in msys, thats the question I was concerned aobut

     
  • Earnie Boyd

    Earnie Boyd - 2012-08-27

    MSYS has no opportunity to modify the internally hard coded path of /usr/local to a relevant path embedded within the native runtime tool chain. MSYS can only modify the paths that are on the command line.

     

Log in to post a comment.