Changes between Version 4 and Version 5 of Building/Platforms/Windows


Ignore:
Timestamp:
Nov 18, 2011 10:13:07 AM (3 years ago)
Author:
dterei
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Building/Platforms/Windows

    v4 v5  
    3737Cygwin, MSYS, and the underlying Windows file system all understand file paths of form {{{c:/tmp/foo}}}. However: 
    3838  
    39 * MSYS programs understand {{{/bin}}}, {{{/usr/bin}}}, and map Windows's lettered drives as {{{/c/tmp/foo}}} etc.  The exact mount table is given in the doc subdirectory of the MSYS distribution. 
    40    [[br]] 
    41    When it invokes a command, the MSYS shell sees whether the invoked binary lives in the MSYS {{{/bin}}} directory.  If so, it just invokes it.  If not, it assumes the program is no an MSYS program, and walks over the command-line arguments changing MSYS paths into native-compatible paths. It does this inside sub-arguments and inside quotes. For example, if you invoke 
    42    {{{ 
     39 * MSYS programs understand {{{/bin}}}, {{{/usr/bin}}}, and map Windows's lettered drives as {{{/c/tmp/foo}}} etc.  The exact mount table is given in the doc subdirectory of the MSYS distribution. 
     40    [[br]] 
     41    When it invokes a command, the MSYS shell sees whether the invoked binary lives in the MSYS {{{/bin}}} directory.  If so, it just invokes it.  If not, it assumes the program is no an MSYS program, and walks over the command-line arguments changing MSYS paths into native-compatible paths. It does this inside sub-arguments and inside quotes. For example, if you invoke 
     42    {{{ 
    4343foogle -B/c/tmp/baz 
    4444}}} 
    45    the MSYS shell will actually call {{{foogle}}} with argument {{{-Bc:/tmp/baz}}}. 
     45    the MSYS shell will actually call {{{foogle}}} with argument {{{-Bc:/tmp/baz}}}. 
    4646 * Cygwin programs have a more complicated mount table, and map the lettered drives as {{{/cygdrive/c/tmp/foo}}}. 
    47    [[br]] 
    48    The Cygwin shell does no argument processing when invoking non-Cygwin programs. 
     47    [[br]] 
     48    The Cygwin shell does no argument processing when invoking non-Cygwin programs. 
    4949